Top Description Inners Fields Methods
net.bytebuddy.description.type

public Interface RecordComponentDescription

extends WithMandatoryDeclaration, WithDescriptor, AnnotationSource, ByteCodeElement.TypeDependant<RecordComponentDescription.InDefinedShape, RecordComponentDescription.Token>
Known Direct Subinterfaces
net.bytebuddy.description.type.RecordComponentDescription.InGenericShape, net.bytebuddy.description.type.RecordComponentDescription.InDefinedShape
Known Direct Implementers
net.bytebuddy.description.type.RecordComponentDescription.AbstractBase
Imports
net.bytebuddy.build.AccessControllerPlugin, .CachedReturnPlugin, net.bytebuddy.description.ByteCodeElement, .DeclaredByType, .NamedElement, net.bytebuddy.description.annotation.AnnotationDescription, .AnnotationList, .AnnotationSource, net.bytebuddy.description.method.MethodDescription, net.bytebuddy.matcher.ElementMatcher, net.bytebuddy.utility.dispatcher.JavaDispatcher, net.bytebuddy.utility.nullability.MaybeNull, net.bytebuddy.jar.asm.signature.SignatureWriter, javax.annotation.Nonnull, java.lang.reflect.AnnotatedElement, .GenericSignatureFormatError, .Method, .Type, java.security.PrivilegedAction, java.util.Collections, .List

Represents a component of a Java record.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
RecordComponentDescription.AbstractBase

An abstract base implementation for a record component description.

public static class
RecordComponentDescription.ForLoadedRecordComponent

Represents a loaded record component.

public static interface
RecordComponentDescription.InDefinedShape

A description of a record component in its defined shape.

public static interface
RecordComponentDescription.InGenericShape

A description of a record component in generic shape.

public static class
RecordComponentDescription.Latent

A latent record component description.

public static class
RecordComponentDescription.Token

A token representing a record component's properties detached from a type.

public static class
RecordComponentDescription.TypeSubstituting

A type substituting representation of a record component description.

Field Summary

Inherited from net.bytebuddy.description.NamedElement.WithDescriptor:
NON_GENERIC_SIGNATURE

Method Summary

Modifier and TypeMethod and Description
public RecordComponentDescription.Token

Returns:

An appropriate token.
asToken
(ElementMatcher<? super TypeDescription>
The matcher to apply for detachment.
matcher
)

Redeclares net.bytebuddy.description.ByteCodeElement.TypeDependant.asToken.

Resolves this record component to a token where all types are detached.
public MethodDescription

Returns:

The accessor for this record component.
getAccessor
()

Returns the accessor for this record component.

public TypeDescription.Generic

Returns:

The type of the record.
getType
()

Returns the type of the record.

Inherited from net.bytebuddy.description.annotation.AnnotationSource:
getDeclaredAnnotations
Inherited from net.bytebuddy.description.ByteCodeElement.TypeDependant:
asDefined
Inherited from net.bytebuddy.description.DeclaredByType.WithMandatoryDeclaration:
getDeclaringType
Inherited from net.bytebuddy.description.NamedElement.WithDescriptor:
getDescriptorgetGenericSignature