public interface RecordComponentDescription extends DeclaredByType.WithMandatoryDeclaration, NamedElement.WithDescriptor, AnnotationSource, ByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape,RecordComponentDescription.Token>
Modifier and Type | Interface and Description |
---|---|
static class |
RecordComponentDescription.AbstractBase
An abstract base implementation for a record component description.
|
static class |
RecordComponentDescription.ForLoadedRecordComponent
Represents a loaded record component.
|
static interface |
RecordComponentDescription.InDefinedShape
A description of a record component in its defined shape.
|
static interface |
RecordComponentDescription.InGenericShape
A description of a record component in generic shape.
|
static class |
RecordComponentDescription.Latent
A latent record component description.
|
static class |
RecordComponentDescription.Token
A token representing a record component's properties detached from a type.
|
static class |
RecordComponentDescription.TypeSubstituting
A type substituting representation of a record component description.
|
DeclaredByType.WithMandatoryDeclaration
NamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
AnnotationSource.Empty, AnnotationSource.Explicit
NON_GENERIC_SIGNATURE
EMPTY_NAME, NO_NAME
Modifier and Type | Method and Description |
---|---|
RecordComponentDescription.Token |
asToken(ElementMatcher<? super TypeDescription> matcher)
Resolves this record component to a token where all types are detached.
|
MethodDescription |
getAccessor()
Returns the accessor for this record component.
|
TypeDescription.Generic |
getType()
Returns the type of the record.
|
getDeclaringType
getDescriptor, getGenericSignature
getActualName
getDeclaredAnnotations
asDefined
TypeDescription.Generic getType()
MethodDescription getAccessor()
RecordComponentDescription.Token asToken(ElementMatcher<? super TypeDescription> matcher)
asToken
in interface ByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape,RecordComponentDescription.Token>
matcher
- The matcher to apply for detachment.Copyright © 2014–1970. All rights reserved.