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 AnnotationSource
AnnotationSource.Empty, AnnotationSource.ExplicitNested classes/interfaces inherited from interface DeclaredByType
DeclaredByType.WithMandatoryDeclarationNested classes/interfaces inherited from interface NamedElement
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameNested classes/interfaces inherited from interface RecordComponentDescription
RecordComponentDescription.ForLoadedRecordComponent, RecordComponentDescription.InDefinedShape, RecordComponentDescription.InGenericShape, RecordComponentDescription.Latent, RecordComponentDescription.Token, RecordComponentDescription.TypeSubstituting -
Field Summary
Fields inherited from interface NamedElement
EMPTY_NAME, NO_NAMEFields inherited from interface 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 AnnotationSource
getDeclaredAnnotationsMethods inherited from interface ByteCodeElement.TypeDependant
asDefinedMethods inherited from interface NamedElement
getActualNameMethods inherited from interface NamedElement.WithDescriptor
getDescriptor, getGenericSignatureMethods inherited from interface 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.
-