Package net.bytebuddy.description.type
Contains descriptions of Java types and packages.
-
Interface Summary Interface Description PackageDescription A package description represents a Java package.RecordComponentDescription Represents a component of a Java record.RecordComponentDescription.ForLoadedRecordComponent.Dispatcher A dispatcher for resolving ajava.lang.reflect.RecordComponent
.RecordComponentDescription.InDefinedShape A description of a record component in its defined shape.RecordComponentDescription.InGenericShape A description of a record component in generic shape.RecordComponentList<T extends RecordComponentDescription> Implementations represent a list of record component descriptions.TypeDefinition Implementations define a type, either as aTypeDescription
or as aTypeDescription.Generic
.TypeDescription Implementations of this interface represent a Java type, i.e.TypeDescription.ForLoadedType.Dispatcher A dispatcher for using methods ofClass
that are not declared for Java 6.TypeDescription.Generic Represents a generic type of the Java programming language.TypeDescription.Generic.AnnotationReader An annotation reader is responsible for lazily evaluating type annotations if this language feature is available on the current JVM.TypeDescription.Generic.AnnotationReader.Dispatcher A dispatcher that represents the type annotation API via reflective calls if the language feature is available on the current JVM.TypeDescription.Generic.Visitor<T> A visitor that can be applied to aTypeDescription.Generic
for differentiating on the sort of the visited type.TypeDescription.Generic.Visitor.Assigner.Dispatcher A dispatcher that allows to check if the visited generic type is assignable to the supplied type.TypeDescription.SuperTypeLoading.ClassLoadingDelegate A class loading delegate is responsible for resolving a type given a class loader and a type name.TypeList Implementations represent a list of type descriptions.TypeList.Generic A list containing descriptions of generic types. -
Class Summary Class Description PackageDescription.AbstractBase An abstract base implementation of a package description.PackageDescription.ForLoadedPackage Represents a loadedPackage
wrapped as aPackageDescription
.PackageDescription.Simple A simple implementation of a package without annotations.RecordComponentDescription.AbstractBase An abstract base implementation for a record component description.RecordComponentDescription.ForLoadedRecordComponent Represents a loaded record component.RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.ForJava14CapableVm A dispatcher for a Java 14-capable JVM.RecordComponentDescription.InDefinedShape.AbstractBase An abstract base implementation of a record component description in its defined shape.RecordComponentDescription.Latent A latent record component description.RecordComponentDescription.Token A token representing a record component's properties detached from a type.RecordComponentDescription.TypeSubstituting A type substituting representation of a record component description.RecordComponentList.AbstractBase<S extends RecordComponentDescription> An abstract base implementation of a list of record components.RecordComponentList.Empty<S extends RecordComponentDescription> An empty list of record components.RecordComponentList.Explicit<S extends RecordComponentDescription> A wrapper implementation of an explicit list of record components.RecordComponentList.ForLoadedRecordComponents A list of loaded record components.RecordComponentList.ForTokens A list of record components described as tokens.RecordComponentList.TypeSubstituting A type-substituting list of record component descriptions.TypeDefinition.SuperClassIterator An iterator that iterates over a type's class hierarchy.TypeDescription.AbstractBase An abstract base implementation of a type description.TypeDescription.AbstractBase.OfSimpleType An adapter implementation of aTypeDescription
that describes any type that is not an array or a primitive type.TypeDescription.AbstractBase.OfSimpleType.WithDelegation An implementation of a type description that delegates all properties but the type's name to a delegate.TypeDescription.ArrayProjection A projection for an array type based on an existingTypeDescription
.TypeDescription.ForLoadedType A type description implementation that represents a loaded type.TypeDescription.ForLoadedType.ClassDescriptionTypeList A list of type descriptions represented by class descriptions.TypeDescription.ForLoadedType.ClassDescriptionTypeList.InternalNameLazyType A lazy representation of an internal name for a given class loader.TypeDescription.ForLoadedType.Dispatcher.ForJava11CapableVm A dispatcher for a Java 11-capable VM.TypeDescription.ForLoadedType.Dispatcher.ForJava16CapableVm A dispatcher for a Java 16-capable VM.TypeDescription.ForPackageDescription A type representation of a package description.TypeDescription.Generic.AbstractBase An abstract base implementation of a generic type description.TypeDescription.Generic.AnnotationReader.Delegator A delegating annotation reader that delegates all invocations to an annotation reader that wraps the previous one.TypeDescription.Generic.AnnotationReader.Delegator.Chained A chained delegator that bases its result on an underlying annotation reader.TypeDescription.Generic.AnnotationReader.Delegator.ForRecordComponent An annotation reader for ajava.lang.reflect.RecordComponent
.TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm A dispatcher for a modern JVM that supports type annotations.TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedTypeVariableType A delegating annotation reader for an annotated type variable.TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.Resolved A delegator for an existingjava.lang.reflect.AnnotatedElement
.TypeDescription.Generic.AnnotationReader.ForComponentType A chained annotation reader for reading a component type.TypeDescription.Generic.AnnotationReader.ForOwnerType A chained annotation reader for reading an owner type.TypeDescription.Generic.AnnotationReader.ForTypeArgument A chained annotation reader for reading a parameterized type's type argument.TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType A chained annotation reader for reading a type variable's type argument.TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.OfFormalTypeVariable A chained annotation reader for reading a formal type variable's type argument.TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType A chained annotation reader for reading a wildcard type's lower bound type.TypeDescription.Generic.AnnotationReader.ForWildcardUpperBoundType A chained annotation reader for reading a wildcard type's upper bound type.TypeDescription.Generic.Builder A builder for creating describing a generic type as aTypeDescription.Generic
.TypeDescription.Generic.Builder.OfGenericArrayType A generic type builder building a generic array type.TypeDescription.Generic.Builder.OfNonGenericType A generic type builder for building a non-generic type.TypeDescription.Generic.Builder.OfParameterizedType A generic type builder for building a parameterized type.TypeDescription.Generic.Builder.OfTypeVariable A generic type builder building a symbolic type variable.TypeDescription.Generic.LazyProjection A lazy projection of a generic type.TypeDescription.Generic.LazyProjection.ForLoadedFieldType A lazy projection of a field's type.TypeDescription.Generic.LazyProjection.ForLoadedReturnType A lazy projection of a method's generic return type.TypeDescription.Generic.LazyProjection.ForLoadedSuperClass A lazy projection of a generic super type.TypeDescription.Generic.LazyProjection.OfConstructorParameter A lazy projection of the parameter type of aConstructor
.TypeDescription.Generic.LazyProjection.OfMethodParameter A lazy projection of the parameter type of aMethod
.TypeDescription.Generic.LazyProjection.OfRecordComponent A lazy projection of ajava.lang.reflect.RecordComponent
's type.TypeDescription.Generic.LazyProjection.WithEagerNavigation A lazy projection of a type that resolves super class and interface types eagerly.TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElement A description of an annotated lazy type with eager navigation.TypeDescription.Generic.LazyProjection.WithLazyNavigation A lazy projection of a type with a lazy resolution of super class and interface types.TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList A lazy representation of a lazy projection's interfaces.TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType A lazy interface type description for a lazy projection.TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass A lazy super class description for a lazy projection.TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement A description of an annotated lazy type with lazy navigation.TypeDescription.Generic.LazyProjection.WithResolvedErasure A lazy projection that applies a visitor only when resolving the generic type but not when reading the erasure.TypeDescription.Generic.OfGenericArray A base implementation of a generic type description that represents a potentially generic array.TypeDescription.Generic.OfGenericArray.ForLoadedType A description of a loaded generic array type.TypeDescription.Generic.OfGenericArray.Latent A latent implementation of a generic array type.TypeDescription.Generic.OfNonGenericType A raw type representation of a non-generic type.TypeDescription.Generic.OfNonGenericType.ForErasure A type description for a type erasure.TypeDescription.Generic.OfNonGenericType.ForLoadedType Represents a non-generic type for a loadedClass
.TypeDescription.Generic.OfNonGenericType.ForReifiedErasure A representation of a raw type that preserves its generic super types' generic information with a minimum but erases all of their members' types.TypeDescription.Generic.OfNonGenericType.Latent A latent description of a non-generic type.TypeDescription.Generic.OfParameterizedType A base implementation of a generic type description that represents a parameterized type.TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure Represents an erasure as a generic type where all type variables are representing their own arguments.TypeDescription.Generic.OfParameterizedType.ForLoadedType Description of a loaded parameterized type.TypeDescription.Generic.OfParameterizedType.ForLoadedType.ParameterArgumentTypeList A type list that represents a loaded parameterized type's parameter types.TypeDescription.Generic.OfParameterizedType.ForReifiedType A representation of a parameterized type that is a super type of a raw type but preserves the minimal type information that is required for allowing creating correct erasures for overridden methods.TypeDescription.Generic.OfParameterizedType.Latent A latent description of a parameterized type.TypeDescription.Generic.OfTypeVariable A base implementation of a generic type description that represents a type variable.TypeDescription.Generic.OfTypeVariable.ForLoadedType Description of a loaded type variable.TypeDescription.Generic.OfTypeVariable.ForLoadedType.TypeVariableBoundList A list of type variable bounds for a loadedTypeVariable
that resolves annotations..TypeDescription.Generic.OfTypeVariable.Symbolic Implementation of a symbolic type variable.TypeDescription.Generic.OfTypeVariable.WithAnnotationOverlay A type variable with explicit annotations that replace the annotations that are declared by the provided type variable.TypeDescription.Generic.OfWildcardType A base implementation of a generic type description that represents a wildcard type.TypeDescription.Generic.OfWildcardType.ForLoadedType Description of a loaded wildcard.TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardLowerBoundTypeList A type list representing an upper-bound type variable's bound types.TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardUpperBoundTypeList A type list representing an upper-bound type variable's bound types.TypeDescription.Generic.OfWildcardType.Latent A latent description of a wildcard type.TypeDescription.Generic.Visitor.AnnotationStripper.NonAnnotatedTypeVariable Representation of a type variable without annotations.TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase An abstract base implementation of a dispatcher that forwards the decision to a visitor implementation.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray A dispatcher for checking the assignability of a generic array type.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType A dispatcher for checking the assignability of a non-generic type.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType A dispatcher for checking the assignability of a parameterized type.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.ContravariantBinding A dispatcher for an contravariant parameter of a parameterized type, i.e.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.CovariantBinding A dispatcher for an covariant parameter of a parameterized type, i.e.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.InvariantBinding A dispatcher for an invariant parameter of a parameterized type, i.e.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable A dispatcher for checking the assignability of a type variable.TypeDescription.Generic.Visitor.ForRawType A visitor that transforms any type into a raw type if declaring type is generified.TypeDescription.Generic.Visitor.ForSignatureVisitor Visits a generic type and appends the discovered type to the supplied signature visitor.TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument Visits a parameter while visiting a generic type for delegating discoveries to a signature visitor.TypeDescription.Generic.Visitor.Reducing A visitor that reduces a detached generic type to its erasure.TypeDescription.Generic.Visitor.Substitutor An abstract implementation of a visitor that substitutes generic types by replacing (nested) type variables and/or non-generic component types.TypeDescription.Generic.Visitor.Substitutor.ForAttachment A substitutor that attaches type variables to a type variable source and replaces representations ofTargetType
with a given declaring type.TypeDescription.Generic.Visitor.Substitutor.ForDetachment A visitor for detaching a type from its declaration context by detaching type variables.TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization A substitutor that normalizes a token to represent allTargetType
by a given type and that symbolizes all type variables.TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding A visitor for binding type variables to their values.TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution ATypeDescription.Generic.Visitor.Substitutor
that only substitutes type variables but fully preserves non-generic type definitions.TypeDescription.Latent A latent type description for a type without methods or fields.TypeDescription.SuperTypeLoading A delegating type description that always attempts to load the super types of a delegate type.TypeDescription.SuperTypeLoading.ClassLoadingTypeList A type list that attempts loading any type.TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection A type projection that attempts to load any super type of the delegate type.TypeList.AbstractBase An abstract base implementation of a type list.TypeList.Empty An implementation of an empty type list.TypeList.Explicit A wrapper implementation of an explicit list of types.TypeList.ForLoadedTypes Implementation of a type list for an array of loaded types.TypeList.Generic.AbstractBase An abstract base implementation of a generic type list.TypeList.Generic.Empty An empty list of generic types.TypeList.Generic.Explicit An explicit list of generic types.TypeList.Generic.ForDetachedTypes A list of detached types that are attached on reception.TypeList.Generic.ForDetachedTypes.OfTypeVariables A list of attached type variables represented by a list of type variable tokens.TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable A wrapper for representing a type variable in its attached state.TypeList.Generic.ForDetachedTypes.WithResolvedErasure A list of detached types that are attached on reception but not when computing an erasure.TypeList.Generic.ForLoadedTypes A list of loaded generic types.TypeList.Generic.ForLoadedTypes.OfTypeVariables A type list that represents loaded type variables.TypeList.Generic.OfConstructorExceptionTypes A lazy projection of a constructor's exception types.TypeList.Generic.OfConstructorExceptionTypes.TypeProjection A projection of a specific exception type.TypeList.Generic.OfLoadedInterfaceTypes A lazy projection of a type's generic interface types.TypeList.Generic.OfLoadedInterfaceTypes.TypeProjection A type projection of an interface type.TypeList.Generic.OfMethodExceptionTypes A lazy projection of a method's exception types.TypeList.Generic.OfMethodExceptionTypes.TypeProjection A projection of a specific exception type.TypeVariableToken A tokenized representation of a type variable. -
Enum Summary Enum Description RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.CreationAction A creation action for creating a dispatcher.RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.ForLegacyVm A dispatcher for a legacy VM that does not support records.TypeDefinition.Sort Represents aTypeDescription.Generic
's form.TypeDescription.ForLoadedType.Dispatcher.CreationAction An action to resolve the dispatcher for invoking methods ofClass
reflectively.TypeDescription.ForLoadedType.Dispatcher.ForLegacyVm A dispatcher for a legacy VM.TypeDescription.Generic.AnnotationReader.Dispatcher.CreationAction A creation action for a dispatcher.TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm A dispatcher forTypeDescription.Generic.AnnotationReader
s on a legacy VM that does not support type annotations.TypeDescription.Generic.AnnotationReader.NoOp A non-operational annotation reader.TypeDescription.Generic.OfParameterizedType.RenderingDelegate A rendering delegate for resolving a parameterized type'sObject.toString()
representation.TypeDescription.Generic.Visitor.AnnotationStripper A visitor that strips all type annotations of all types.TypeDescription.Generic.Visitor.Assigner A visitor that determines the direct assignability of a type to another generic type.TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner An assigner for a parameter of a parameterized type.TypeDescription.Generic.Visitor.NoOp A non-operational generic type visitor.TypeDescription.Generic.Visitor.Reifying A visitor that reifies type descriptions if they represent raw types.TypeDescription.Generic.Visitor.TypeErasing A visitor that returns the erasure of any visited type.TypeDescription.Generic.Visitor.Validator A validator for Java types that are defined for a specified type use within a Java class file.TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations A type validator for checking type annotations.TypeDescription.SuperTypeLoading.ClassLoadingDelegate.Simple A simple class loading delegate that simply loads a type.