Package net.bytebuddy.description.type
Interface RecordComponentDescription.InDefinedShape
- All Superinterfaces:
AnnotationSource,ByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape,,RecordComponentDescription.Token> DeclaredByType,DeclaredByType.WithMandatoryDeclaration,NamedElement,NamedElement.WithDescriptor,RecordComponentDescription
- All Known Implementing Classes:
RecordComponentDescription.ForLoadedRecordComponent,RecordComponentDescription.InDefinedShape.AbstractBase,RecordComponentDescription.Latent,TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription
- Enclosing interface:
RecordComponentDescription
public static interface RecordComponentDescription.InDefinedShape
extends RecordComponentDescription
A description of a record component in its defined shape.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn abstract base implementation of a record component description in its defined shape.Nested classes/interfaces inherited from interface net.bytebuddy.description.annotation.AnnotationSource
AnnotationSource.Empty, AnnotationSource.ExplicitNested classes/interfaces inherited from interface net.bytebuddy.description.DeclaredByType
DeclaredByType.WithMandatoryDeclarationNested classes/interfaces inherited from interface net.bytebuddy.description.NamedElement
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameNested classes/interfaces inherited from interface net.bytebuddy.description.type.RecordComponentDescription
RecordComponentDescription.ForLoadedRecordComponent, RecordComponentDescription.InDefinedShape, RecordComponentDescription.InGenericShape, RecordComponentDescription.Latent, RecordComponentDescription.Token, RecordComponentDescription.TypeSubstituting -
Field Summary
Fields inherited from interface net.bytebuddy.description.NamedElement
EMPTY_NAME, NO_NAMEFields inherited from interface net.bytebuddy.description.NamedElement.WithDescriptor
NON_GENERIC_SIGNATURE -
Method Summary
Modifier and TypeMethodDescriptionReturns the accessor for this record component.Returns the declaring type of this instance.Methods inherited from interface net.bytebuddy.description.annotation.AnnotationSource
getDeclaredAnnotationsMethods inherited from interface net.bytebuddy.description.ByteCodeElement.TypeDependant
asDefinedMethods inherited from interface net.bytebuddy.description.NamedElement
getActualNameMethods inherited from interface net.bytebuddy.description.NamedElement.WithDescriptor
getDescriptor, getGenericSignatureMethods inherited from interface net.bytebuddy.description.type.RecordComponentDescription
asToken, getType
-
Method Details
-
getAccessor
MethodDescription.InDefinedShape getAccessor()Returns the accessor for this record component.- Specified by:
getAccessorin interfaceRecordComponentDescription- Returns:
- The accessor for this record component.
-
getDeclaringType
Returns the declaring type of this instance.- Specified by:
getDeclaringTypein interfaceDeclaredByType- Specified by:
getDeclaringTypein interfaceDeclaredByType.WithMandatoryDeclaration- Returns:
- The declaring type or
nullif no such type exists.
-