Top Description Inners Methods
org.easymock.bytebuddy.description

public Interface DeclaredByType

Known Direct Subinterfaces
org.easymock.bytebuddy.description.DeclaredByType.WithMandatoryDeclaration, org.easymock.bytebuddy.description.ByteCodeElement
Imports
org.easymock.bytebuddy.description.type.TypeDefinition, org.easymock.bytebuddy.utility.nullability.MaybeNull, javax.annotation.Nonnull

This interface represents all elements that can be declared within a type, i.e. other types and type members.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
DeclaredByType.WithMandatoryDeclaration

Indicates that this element must always be declared by a type.

Method Summary

Modifier and TypeMethod and Description
public TypeDefinition

Returns:

The declaring type or null if no such type exists.
getDeclaringType
()

Returns the declaring type of this instance.

Method Detail

getDeclaringTypeback to summary
public TypeDefinition getDeclaringType()

Returns the declaring type of this instance.

Returns:TypeDefinition

The declaring type or null if no such type exists.

Annotations
@MaybeNull
org.easymock.bytebuddy.description back to summary

public Interface DeclaredByType.WithMandatoryDeclaration

extends DeclaredByType
Known Direct Subinterfaces
org.easymock.bytebuddy.description.field.FieldDescription, org.easymock.bytebuddy.description.method.MethodDescription, org.easymock.bytebuddy.description.type.RecordComponentDescription, org.easymock.bytebuddy.description.ByteCodeElement.Member

Indicates that this element must always be declared by a type.

Method Summary

Modifier and TypeMethod and Description
public TypeDefinition
getDeclaringType()

Redeclares org.easymock.bytebuddy.description.DeclaredByType.getDeclaringType.

Returns the declaring type of this instance.

Method Detail

getDeclaringTypeback to summary
public TypeDefinition getDeclaringType()

Redeclares org.easymock.bytebuddy.description.DeclaredByType.getDeclaringType.

Doc from org.easymock.bytebuddy.description.DeclaredByType.getDeclaringType.

Returns the declaring type of this instance.

Returns:TypeDefinition

The declaring type or null if no such type exists.

Annotations
@Nonnull