Class RecordComponentDescription.AbstractBase
java.lang.Object
net.bytebuddy.description.type.RecordComponentDescription.AbstractBase
- All Implemented Interfaces:
AnnotationSource, ByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape, RecordComponentDescription.Token>, DeclaredByType, DeclaredByType.WithMandatoryDeclaration, NamedElement, NamedElement.WithDescriptor, RecordComponentDescription
- Direct Known Subclasses:
RecordComponentDescription.InDefinedShape.AbstractBase, RecordComponentDescription.TypeSubstituting
- Enclosing interface:
RecordComponentDescription
public abstract static class RecordComponentDescription.AbstractBase
extends Object
implements RecordComponentDescription
An abstract base implementation for a record component description.
-
Nested Class Summary
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.AbstractBase, 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasToken(ElementMatcher<? super TypeDescription> matcher) Resolves this record component to a token where all types are detached.booleanReturns the descriptor of this byte code element.Returns the generic signature of this byte code element.inthashCode()toString()Methods inherited from interface AnnotationSource
getDeclaredAnnotationsMethods inherited from interface ByteCodeElement.TypeDependant
asDefinedMethods inherited from interface DeclaredByType.WithMandatoryDeclaration
getDeclaringTypeMethods inherited from interface NamedElement
getActualNameMethods inherited from interface RecordComponentDescription
getAccessor, getType
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
asToken
Resolves this record component to a token where all types are detached.- Specified by:
asTokenin interfaceByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape, RecordComponentDescription.Token>- Specified by:
asTokenin interfaceRecordComponentDescription- Parameters:
matcher- The matcher to apply for detachment.- Returns:
- An appropriate token.
-
getDescriptor
Returns the descriptor of this byte code element.- Specified by:
getDescriptorin interfaceNamedElement.WithDescriptor- Returns:
- The descriptor of this byte code element.
-
getGenericSignature
Returns the generic signature of this byte code element. If this element does not reference generic types or references malformed generic types,nullis returned as a signature.- Specified by:
getGenericSignaturein interfaceNamedElement.WithDescriptor- Returns:
- The generic signature or
nullif this element is not generic.
-
hashCode
-
equals
-
toString
-