public static class RecordComponentDescription.TypeSubstituting extends RecordComponentDescription.AbstractBase implements RecordComponentDescription.InGenericShape
RecordComponentDescription.AbstractBase, RecordComponentDescription.ForLoadedRecordComponent, RecordComponentDescription.InDefinedShape, RecordComponentDescription.InGenericShape, RecordComponentDescription.Latent, RecordComponentDescription.Token, RecordComponentDescription.TypeSubstitutingDeclaredByType.WithMandatoryDeclarationNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameAnnotationSource.Empty, AnnotationSource.ExplicitNON_GENERIC_SIGNATUREEMPTY_NAME, NO_NAME| Constructor and Description |
|---|
TypeSubstituting(TypeDescription.Generic declaringType,
RecordComponentDescription recordComponentDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting representation of a record component description.
|
| Modifier and Type | Method and Description |
|---|---|
RecordComponentDescription.InDefinedShape |
asDefined()
Returns this type dependant in its defined shape, i.e.
|
MethodDescription.InGenericShape |
getAccessor()
Returns the accessor for this record component.
|
String |
getActualName()
Returns the display name of this element as it is found in the source code.
|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDefinition |
getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription.Generic |
getType()
Returns the type of the record.
|
asToken, equals, getDescriptor, getGenericSignature, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasTokengetDescriptor, getGenericSignaturepublic TypeSubstituting(TypeDescription.Generic declaringType, RecordComponentDescription recordComponentDescription, TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
declaringType - The type that declares this type-substituted record component.recordComponentDescription - The represented record component.visitor - A visitor that is applied to the parameter type.public MethodDescription.InGenericShape getAccessor()
getAccessor in interface RecordComponentDescriptiongetAccessor in interface RecordComponentDescription.InGenericShapepublic TypeDescription.Generic getType()
getType in interface RecordComponentDescriptionpublic RecordComponentDescription.InDefinedShape asDefined()
asDefined in interface ByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape,RecordComponentDescription.Token>@Nonnull public TypeDefinition getDeclaringType()
getDeclaringType in interface DeclaredByTypegetDeclaringType in interface DeclaredByType.WithMandatoryDeclarationnull if no such type exists.public String getActualName()
getActualName in interface NamedElementpublic AnnotationList getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotationSourceCopyright © 2014–2025. All rights reserved.