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.
|
protected static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForRecordComponent
An annotation reader for a
java.lang.reflect.RecordComponent . |
protected class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedExceptionType
A delegating annotation reader for an annotated exception variable.
|
protected class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedFieldType
A delegating annotation reader for an annotated field variable.
|
protected class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedInterfaceType
A delegating annotation reader for an annotated interface type.
|
protected class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedParameterizedType
A delegating annotation reader for an annotated parameter variable.
|
protected class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedReturnType
A delegating annotation reader for an annotated return variable.
|
protected class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedSuperClass
A delegating annotation reader for an annotated super type.
|
protected static class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.AnnotatedTypeVariableType
A delegating annotation reader for an annotated type variable.
|
protected static class |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.Resolved
A delegator for an existing
java.lang.reflect.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.Dispatcher.ForJava8CapableVm.AnnotatedTypeVariableType.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.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.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveExceptionType(AccessibleObject executable,
int index)
Resolves a loaded executable's exception type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveExceptionType(AccessibleObject executable,
int index)
Resolves a loaded executable's exception type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveExceptionType(AccessibleObject executable,
int index)
Resolves a loaded executable's exception type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveFieldType(Field field)
Resolves a loaded field's type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveFieldType(Field field)
Resolves a loaded field's type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveFieldType(Field field)
Resolves a loaded field's type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveInterfaceType(Class<?> type,
int index)
Resolves a loaded type's interface type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveInterfaceType(Class<?> type,
int index)
Resolves a loaded type's interface type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveInterfaceType(Class<?> type,
int index)
Resolves a loaded type's interface type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveParameterType(AccessibleObject executable,
int index)
Resolves a loaded executable's type argument type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveParameterType(AccessibleObject executable,
int index)
Resolves a loaded executable's type argument type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveParameterType(AccessibleObject executable,
int index)
Resolves a loaded executable's type argument type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveReturnType(Method method)
Resolves a loaded method's return type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveReturnType(Method method)
Resolves a loaded method's return type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveReturnType(Method method)
Resolves a loaded method's return type's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveSuperClassType(Class<?> type)
Resolves a loaded type's super class's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveSuperClassType(Class<?> type)
Resolves a loaded type's super class's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveSuperClassType(Class<?> type)
Resolves a loaded type's super class's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveTypeVariable(TypeVariable<?> typeVariable)
Resolves a formal type variable's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveTypeVariable(TypeVariable<?> typeVariable)
Resolves a formal type variable's type annotations.
|
TypeDescription.Generic.AnnotationReader |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveTypeVariable(TypeVariable<?> typeVariable)
Resolves a formal type variable's type annotations.
|
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–2020. All rights reserved.