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 class
An 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.Explicit
Nested classes/interfaces inherited from interface net.bytebuddy.description.DeclaredByType
DeclaredByType.WithMandatoryDeclaration
Nested classes/interfaces inherited from interface net.bytebuddy.description.NamedElement
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
Nested 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_NAME
Fields 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
getDeclaredAnnotations
Methods inherited from interface net.bytebuddy.description.ByteCodeElement.TypeDependant
asDefined
Methods inherited from interface net.bytebuddy.description.NamedElement
getActualName
Methods inherited from interface net.bytebuddy.description.NamedElement.WithDescriptor
getDescriptor, getGenericSignature
Methods 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:
getAccessor
in interfaceRecordComponentDescription
- Returns:
- The accessor for this record component.
-
getDeclaringType
Returns the declaring type of this instance.- Specified by:
getDeclaringType
in interfaceDeclaredByType
- Specified by:
getDeclaringType
in interfaceDeclaredByType.WithMandatoryDeclaration
- Returns:
- The declaring type or
null
if no such type exists.
-