Package | Description |
---|---|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
Modifier and Type | Class and Description |
---|---|
static class |
TypeDescription.Generic.AnnotationReader.Delegator
A delegating annotation reader that delegates all invocations to an annotation reader that wraps the previous one.
|
protected static class |
TypeDescription.Generic.AnnotationReader.Delegator.Chained
A chained delegator that bases its result on an underlying annotation reader.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType
A delegating annotation reader for an annotated exception variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableParameterType
A delegating annotation reader for an annotated parameter variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField
A delegating annotation reader for an annotated field variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedInterface
A delegating annotation reader for an annotated interface type.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType
A delegating annotation reader for an annotated return variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedRecordComponent
An annotation reader for a
java.lang.reflect.RecordComponent . |
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedSuperClass
A delegating annotation reader for an annotated super type.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedTypeVariable
A delegating annotation reader for an annotated type variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.Simple
A simple delegator for a given
AnnotatedElement . |
static class |
TypeDescription.Generic.AnnotationReader.ForComponentType
A chained annotation reader for reading a component type.
|
static class |
TypeDescription.Generic.AnnotationReader.ForOwnerType
A chained annotation reader for reading an owner type.
|
static class |
TypeDescription.Generic.AnnotationReader.ForTypeArgument
A chained annotation reader for reading a parameterized type's type argument.
|
static class |
TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType
A chained annotation reader for reading a type variable's type argument.
|
protected static class |
TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.OfFormalTypeVariable
A chained annotation reader for reading a formal type variable's type argument.
|
static class |
TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType
A chained annotation reader for reading a wildcard type's lower bound type.
|
static class |
TypeDescription.Generic.AnnotationReader.ForWildcardUpperBoundType
A chained annotation reader for reading a wildcard type's upper bound type.
|
static class |
TypeDescription.Generic.AnnotationReader.NoOp
A non-operational annotation reader.
|
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.Chained.annotationReader
The underlying annotation reader.
|
Modifier and Type | Method and Description |
---|---|
protected abstract TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement.getAnnotationReader()
Returns the current type's annotation reader.
|
protected abstract TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElement.getAnnotationReader()
Returns the current type's annotation reader.
|
protected TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.ForLoadedSuperClass.getAnnotationReader() |
protected TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.ForLoadedFieldType.getAnnotationReader() |
protected TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.ForLoadedReturnType.getAnnotationReader() |
protected TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.OfConstructorParameter.getAnnotationReader() |
protected TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.OfMethodParameter.getAnnotationReader() |
protected TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.LazyProjection.OfRecordComponent.getAnnotationReader() |
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.ofComponentType()
Returns a reader for type annotations of an array's component type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.NoOp.ofComponentType()
Returns a reader for type annotations of an array's component type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ofComponentType()
Returns a reader for type annotations of an array's component type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.ofOuterClass()
Returns a reader for type annotations of an inner class type's outer type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.NoOp.ofOuterClass()
Returns a reader for type annotations of an inner class type's outer type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ofOuterClass()
Returns a reader for type annotations of an inner class type's outer type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.ofOwnerType()
Returns a reader for type annotations of a parameterized type's owner type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.NoOp.ofOwnerType()
Returns a reader for type annotations of a parameterized type's owner type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ofOwnerType()
Returns a reader for type annotations of a parameterized type's owner type.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.ofTypeArgument(int index)
Returns a reader for type annotations of a parameterized type's type argument.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.NoOp.ofTypeArgument(int index)
Returns a reader for type annotations of a parameterized type's type argument.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ofTypeArgument(int index)
Returns a reader for type annotations of a parameterized type's type argument.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.ofTypeVariableBoundType(int index)
Returns a reader for type annotations of a type variable's bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.NoOp.ofTypeVariableBoundType(int index)
Returns a reader for type annotations of a type variable's bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ofTypeVariableBoundType(int index)
Returns a reader for type annotations of a type variable's bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedTypeVariable.ofTypeVariableBoundType(int index)
Returns a reader for type annotations of a type variable's bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.ofWildcardLowerBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard lower bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.NoOp.ofWildcardLowerBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard lower bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ofWildcardLowerBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard lower bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.ofWildcardUpperBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard upper bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.NoOp.ofWildcardUpperBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard upper bound.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Delegator.ofWildcardUpperBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard upper bound.
|
Modifier and Type | Method and Description |
---|---|
protected static TypeDescription.Generic |
TypeDefinition.Sort.describe(Type type,
TypeDescription.Generic.AnnotationReader annotationReader)
Describes the generic type while using the supplied annotation reader for resolving type annotations if this
language feature is available on the current JVM.
|
Constructor and Description |
---|
Chained(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a new chained annotation reader.
|
ForComponentType(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a chained annotation reader for reading a component type.
|
ForLoadedType(Class<?> type,
TypeDescription.Generic.AnnotationReader annotationReader)
/**
Creates a new description of a generic type of a loaded type.
|
ForLoadedType(GenericArrayType genericArrayType,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a type description of the given generic array type.
|
ForLoadedType(ParameterizedType parameterizedType,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a description of the loaded parameterized type.
|
ForLoadedType(TypeVariable<?> typeVariable,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a description of a loaded type variable with an annotation.
|
ForLoadedType(WildcardType wildcardType,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a description of a loaded wildcard.
|
ForOwnerType(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a chained annotation reader for reading an owner type if it is accessible.
|
ForTypeArgument(TypeDescription.Generic.AnnotationReader annotationReader,
int index)
Creates a chained annotation reader for reading a component type.
|
ForTypeVariableBoundType(TypeDescription.Generic.AnnotationReader annotationReader,
int index)
Creates a chained annotation reader for reading a type variable's bound type.
|
ForWildcardLowerBoundType(TypeDescription.Generic.AnnotationReader annotationReader,
int index)
Creates a chained annotation reader for reading a lower-bound wildcard's bound type.
|
ForWildcardUpperBoundType(TypeDescription.Generic.AnnotationReader annotationReader,
int index)
Creates a chained annotation reader for reading a upper-bound wildcard's bound type.
|
ParameterArgumentTypeList(Type[] argumentType,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a list representing a parameterized type's type arguments.
|
TypeVariableBoundList(Type[] bound,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a new list for a
TypeVariable 's bound. |
WildcardLowerBoundTypeList(Type[] lowerBound,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a type list for a wildcard type's lower bounds.
|
WildcardUpperBoundTypeList(Type[] upperBound,
TypeDescription.Generic.AnnotationReader annotationReader)
Creates a type list for a wildcard type's upper bounds.
|
Copyright © 2014–2023. All rights reserved.