Package net.bytebuddy.description.type
Class RecordComponentDescription.InDefinedShape.AbstractBase
- java.lang.Object
-
- net.bytebuddy.description.type.RecordComponentDescription.AbstractBase
-
- net.bytebuddy.description.type.RecordComponentDescription.InDefinedShape.AbstractBase
-
- All Implemented Interfaces:
AnnotationSource,ByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape,RecordComponentDescription.Token>,DeclaredByType,NamedElement,NamedElement.WithDescriptor,RecordComponentDescription,RecordComponentDescription.InDefinedShape
- Direct Known Subclasses:
RecordComponentDescription.ForLoadedRecordComponent,RecordComponentDescription.Latent,TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription
- Enclosing interface:
- RecordComponentDescription.InDefinedShape
public abstract static class RecordComponentDescription.InDefinedShape.AbstractBase extends RecordComponentDescription.AbstractBase implements RecordComponentDescription.InDefinedShape
An abstract base implementation of a record component description in its defined shape.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.annotation.AnnotationSource
AnnotationSource.Empty, AnnotationSource.Explicit
-
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.AbstractBase, RecordComponentDescription.ForLoadedRecordComponent, RecordComponentDescription.InDefinedShape, RecordComponentDescription.InGenericShape, RecordComponentDescription.Latent, RecordComponentDescription.Token, RecordComponentDescription.TypeSubstituting
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.type.RecordComponentDescription.InDefinedShape
RecordComponentDescription.InDefinedShape.AbstractBase
-
-
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
-
-
Constructor Summary
Constructors Constructor Description AbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordComponentDescription.InDefinedShapeasDefined()Returns this type dependant in its defined shape, i.e.MethodDescription.InDefinedShapegetAccessor()Returns the accessor for this record component.-
Methods inherited from class net.bytebuddy.description.type.RecordComponentDescription.AbstractBase
asToken, equals, getDescriptor, getGenericSignature, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.bytebuddy.description.annotation.AnnotationSource
getDeclaredAnnotations
-
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
-
Methods inherited from interface net.bytebuddy.description.type.RecordComponentDescription.InDefinedShape
getDeclaringType
-
-
-
-
Method Detail
-
getAccessor
public MethodDescription.InDefinedShape getAccessor()
Returns the accessor for this record component.- Specified by:
getAccessorin interfaceRecordComponentDescription- Specified by:
getAccessorin interfaceRecordComponentDescription.InDefinedShape- Returns:
- The accessor for this record component.
-
asDefined
public RecordComponentDescription.InDefinedShape asDefined()
Returns this type dependant in its defined shape, i.e. the form it is declared in and without its type variable's resolved.- Specified by:
asDefinedin interfaceByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape,RecordComponentDescription.Token>- Returns:
- This type dependant in its defined shape.
-
-