Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
net.bytebuddy.description |
Classes of this package allow the representation of Java classes, their member and their meta data.
|
net.bytebuddy.description.field |
Contains descriptions of Java fields.
|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
net.bytebuddy.implementation.attribute |
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e. fields, types and byte code methods.
|
net.bytebuddy.implementation.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
net.bytebuddy.implementation.bytecode.assign |
An
Assigner is responsible for transforming
a given TypeDescription into another one. |
net.bytebuddy.implementation.bytecode.assign.primitive |
Assigner implementations of this package
are capable of handling primitive types or the void type. |
net.bytebuddy.implementation.bytecode.assign.reference |
Assigner implementations of this package
are capable of assigning non-primitive types to each other. |
net.bytebuddy.implementation.bytecode.collection |
This package is dedicated to creating
StackManipulation s
that create collections or arrays from a given number of values. |
net.bytebuddy.matcher |
Contains an API for matching Java byte code entities.
|
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
Modifier and Type | Method and Description |
---|---|
String |
NamingStrategy.subclass(TypeDescription.Generic superClass)
Determines a new name when creating a new type that subclasses the provided type.
|
String |
NamingStrategy.AbstractBase.subclass(TypeDescription.Generic superClass) |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypeVariableSource.findVariable(String symbol)
Finds a particular variable with the given name in the closes type variable source that is visible from this instance.
|
TypeDescription.Generic |
TypeVariableSource.AbstractBase.findVariable(String symbol) |
Modifier and Type | Method and Description |
---|---|
T |
ByteCodeElement.Token.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms the types represented by this token by applying the given visitor to them.
|
ByteCodeElement.Token.TokenList<S> |
ByteCodeElement.Token.TokenList.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms all tokens that are represented by this list.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
FieldDescription.InGenericShape.getDeclaringType() |
TypeDescription.Generic |
FieldDescription.TypeSubstituting.getDeclaringType() |
TypeDescription.Generic |
FieldDescription.getType()
Returns the type of the described field.
|
TypeDescription.Generic |
FieldDescription.ForLoadedField.getType() |
TypeDescription.Generic |
FieldDescription.Latent.getType() |
TypeDescription.Generic |
FieldDescription.TypeSubstituting.getType() |
TypeDescription.Generic |
FieldDescription.Token.getType()
Returns the type of the represented field.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription.Token |
FieldDescription.Token.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) |
Constructor and Description |
---|
Latent(TypeDescription declaringType,
String fieldName,
int modifiers,
TypeDescription.Generic fieldType,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a new latent field description.
|
Token(String name,
int modifiers,
TypeDescription.Generic type)
Creates a new field token without annotations.
|
Token(String name,
int modifiers,
TypeDescription.Generic type,
List<? extends AnnotationDescription> annotations)
Creates a new field token.
|
TypeSubstituting(TypeDescription.Generic declaringType,
FieldDescription fieldDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a field description with a substituted field type.
|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends FieldDescription> fieldDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting field list.
|
Constructor and Description |
---|
TypeSubstituting(TypeDescription.Generic declaringType,
FieldDescription fieldDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a field description with a substituted field type.
|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends FieldDescription> fieldDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting field list.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
MethodDescription.InGenericShape.getDeclaringType() |
TypeDescription.Generic |
MethodDescription.TypeSubstituting.getDeclaringType() |
TypeDescription.Generic |
MethodDescription.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.InDefinedShape.AbstractBase.getReceiverType() |
TypeDescription.Generic |
MethodDescription.ForLoadedConstructor.getReceiverType() |
TypeDescription.Generic |
MethodDescription.ForLoadedMethod.getReceiverType() |
TypeDescription.Generic |
MethodDescription.Latent.getReceiverType() |
TypeDescription.Generic |
MethodDescription.TypeSubstituting.getReceiverType() |
TypeDescription.Generic |
MethodDescription.Token.getReceiverType()
Returns the receiver type of this token or
null if the receiver type is implicit. |
TypeDescription.Generic |
MethodDescription.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
MethodDescription.ForLoadedConstructor.getReturnType() |
TypeDescription.Generic |
MethodDescription.ForLoadedMethod.getReturnType() |
TypeDescription.Generic |
MethodDescription.Latent.getReturnType() |
TypeDescription.Generic |
MethodDescription.Latent.TypeInitializer.getReturnType() |
TypeDescription.Generic |
MethodDescription.TypeSubstituting.getReturnType() |
TypeDescription.Generic |
MethodDescription.Token.getReturnType()
Returns the return type of the represented method.
|
TypeDescription.Generic |
ParameterDescription.getType()
Returns the type of this parameter.
|
TypeDescription.Generic |
ParameterDescription.ForLoadedParameter.OfMethod.getType() |
TypeDescription.Generic |
ParameterDescription.ForLoadedParameter.OfConstructor.getType() |
TypeDescription.Generic |
ParameterDescription.ForLoadedParameter.OfLegacyVmMethod.getType() |
TypeDescription.Generic |
ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor.getType() |
TypeDescription.Generic |
ParameterDescription.Latent.getType() |
TypeDescription.Generic |
ParameterDescription.TypeSubstituting.getType() |
TypeDescription.Generic |
ParameterDescription.Token.getType()
Returns the type of the represented method parameter.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescription.Token |
ParameterDescription.Token.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) |
MethodDescription.Token |
MethodDescription.Token.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) |
Constructor and Description |
---|
Latent(MethodDescription.InDefinedShape declaringMethod,
TypeDescription.Generic parameterType,
int index,
int offset)
Creates a new latent parameter descriptions for a parameter without explicit meta data or annotations.
|
Latent(MethodDescription.InDefinedShape declaringMethod,
TypeDescription.Generic parameterType,
List<? extends AnnotationDescription> declaredAnnotations,
String name,
Integer modifiers,
int index,
int offset)
Creates a latent parameter description.
|
Latent(TypeDescription declaringType,
String internalName,
int modifiers,
List<? extends TypeVariableToken> typeVariables,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> declaredAnnotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new latent method description.
|
Token(String name,
int modifiers,
List<? extends TypeVariableToken> typeVariableTokens,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> annotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new token for a method description.
|
Token(String name,
int modifiers,
TypeDescription.Generic returnType)
Creates a new method token representing a method without any parameters, exception types, type variables or annotations.
|
Token(String name,
int modifiers,
TypeDescription.Generic returnType,
List<? extends TypeDescription.Generic> parameterTypes)
Creates a new method token with simple values.
|
Token(TypeDescription.Generic type)
Creates a new parameter token without an explicit name, an explicit modifier or annotations.
|
Token(TypeDescription.Generic type,
List<? extends AnnotationDescription> annotations)
Creates a new parameter token without an explicit name or an explicit modifier.
|
Token(TypeDescription.Generic type,
List<? extends AnnotationDescription> annotations,
String name,
Integer modifiers)
Creates a new parameter token.
|
Token(TypeDescription.Generic type,
String name,
Integer modifiers)
Creates a parameter token without annotations.
|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends MethodDescription> methodDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting method list.
|
TypeSubstituting(TypeDescription.Generic declaringType,
MethodDescription methodDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a method description with substituted method types.
|
Constructor and Description |
---|
Latent(TypeDescription declaringType,
String internalName,
int modifiers,
List<? extends TypeVariableToken> typeVariables,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> declaredAnnotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new latent method description.
|
Token(String name,
int modifiers,
List<? extends TypeVariableToken> typeVariableTokens,
TypeDescription.Generic returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends TypeDescription.Generic> exceptionTypes,
List<? extends AnnotationDescription> annotations,
AnnotationValue<?,?> defaultValue,
TypeDescription.Generic receiverType)
Creates a new token for a method description.
|
Token(String name,
int modifiers,
TypeDescription.Generic returnType,
List<? extends TypeDescription.Generic> parameterTypes)
Creates a new method token with simple values.
|
TypeSubstituting(MethodDescription.InGenericShape declaringMethod,
List<? extends ParameterDescription> parameterDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting parameter list.
|
TypeSubstituting(MethodDescription.InGenericShape declaringMethod,
ParameterDescription parameterDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting parameter.
|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends MethodDescription> methodDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting method list.
|
TypeSubstituting(TypeDescription.Generic declaringType,
MethodDescription methodDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a method description with substituted method types.
|
Modifier and Type | Class and Description |
---|---|
static class |
TypeDescription.Generic.AbstractBase
An abstract base implementation of a generic type description.
|
static class |
TypeDescription.Generic.LazyProjection
A lazy projection of a generic type.
|
static class |
TypeDescription.Generic.LazyProjection.ForLoadedFieldType
A lazy projection of a field's type.
|
static class |
TypeDescription.Generic.LazyProjection.ForLoadedReturnType
A lazy projection of a method's generic return type.
|
static class |
TypeDescription.Generic.LazyProjection.ForLoadedSuperClass
A lazy projection of a generic super type.
|
protected static class |
TypeDescription.Generic.LazyProjection.OfAnnotatedElement
A base implementation of a lazy type projection of an annotated element that resolves its type annotations
via an
TypeDescription.Generic.AnnotationReader . |
static class |
TypeDescription.Generic.LazyProjection.OfConstructorParameter
A lazy projection of the parameter type of a
Constructor . |
static class |
TypeDescription.Generic.LazyProjection.OfMethodParameter
A lazy projection of the parameter type of a
Method . |
static class |
TypeDescription.Generic.OfGenericArray
A base implementation of a generic type description that represents a potentially generic array.
|
static class |
TypeDescription.Generic.OfGenericArray.ForLoadedType
A description of a loaded generic array type.
|
static class |
TypeDescription.Generic.OfGenericArray.Latent
A latent implementation of a generic array type.
|
static class |
TypeDescription.Generic.OfNonGenericType
A raw type representation of a non-generic type.
|
static class |
TypeDescription.Generic.OfNonGenericType.ForLoadedType
Represents a non-generic type for a loaded
Class . |
static class |
TypeDescription.Generic.OfNonGenericType.Latent
A latent description of a non-generic type.
|
static class |
TypeDescription.Generic.OfNonGenericType.OfErasure
Represents a non-generic type for an erasure as a
TypeDescription . |
static class |
TypeDescription.Generic.OfParameterizedType
A base implementation of a generic type description that represents a parameterized type.
|
static class |
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure
Represents a type erasure as a parameterized type where any type variable is used as a type argument
of the parameterized type and where the declaring type is defined as the type's owner type.
|
static class |
TypeDescription.Generic.OfParameterizedType.ForLoadedType
Description of a loaded parameterized type.
|
static class |
TypeDescription.Generic.OfParameterizedType.Latent
A latent description of a parameterized type.
|
static class |
TypeDescription.Generic.OfTypeVariable
A base implementation of a generic type description that represents a type variable.
|
static class |
TypeDescription.Generic.OfTypeVariable.ForLoadedType
Description of a loaded type variable.
|
static class |
TypeDescription.Generic.OfTypeVariable.Symbolic
Implementation of a symbolic type variable.
|
static class |
TypeDescription.Generic.OfTypeVariable.WithAnnotationOverlay
A type variable with explicit annotations that replace the annotations that are declared by the provided type variable.
|
static class |
TypeDescription.Generic.OfWildcardType
A base implementation of a generic type description that represents a wildcard type.
|
static class |
TypeDescription.Generic.OfWildcardType.ForLoadedType
Description of a loaded wildcard.
|
static class |
TypeDescription.Generic.OfWildcardType.Latent
A latent description of a wildcard type.
|
protected static class |
TypeDescription.Generic.Visitor.AnnotationStripper.NonAnnotatedTypeVariable
Representation of a type variable without annotations.
|
protected class |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.RetainedMethodTypeVariable
Implementation of a type variable on a method that is not substituted.
|
protected static class |
TypeDescription.Generic.Visitor.TypeVariableErasing.RetainedTypeVariable
A retained type variable that is not erased.
|
protected static class |
TypeList.Generic.ForDetachedTypes.OfTypeVariables.AttachedTypeVariable
A wrapper for representing a type variable in its attached state.
|
Modifier and Type | Field and Description |
---|---|
static TypeDescription.Generic |
TypeDescription.Generic.ANNOTATION
A representation of the
Annotation type. |
static TypeDescription.Generic |
TypeDescription.Generic.OBJECT
A representation of the
Object type. |
static TypeDescription.Generic |
TypeDescription.Generic.UNDEFINED
Represents any undefined property representing a generic type description that is instead represented as
null in order
to resemble the Java reflection API which returns null and is intuitive to many Java developers. |
static TypeDescription.Generic |
TypeDescription.Generic.VOID
A representation of the
void non-type. |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypeDescription.Generic.AbstractBase.asGenericType() |
TypeDescription.Generic |
TypeDescription.AbstractBase.asGenericType() |
TypeDescription.Generic |
TypeDefinition.asGenericType()
Returns this type definition as a generic type.
|
TypeDescription.Generic |
TypeDescription.Generic.asRawType()
Returns this type as a raw type.
|
TypeDescription.Generic |
TypeDescription.Generic.AbstractBase.asRawType() |
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardLowerBound()
Transforms this type into the lower bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardLowerBound(Annotation... annotation)
Transforms this type into the lower bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardLowerBound(AnnotationDescription... annotation)
Transforms this type into the lower bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardLowerBound(Collection<? extends AnnotationDescription> annotations)
Transforms this type into the lower bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardLowerBound(List<? extends Annotation> annotations)
Transforms this type into the lower bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardUpperBound()
Transforms this type into the upper bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardUpperBound(Annotation... annotation)
Transforms this type into the upper bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardUpperBound(AnnotationDescription... annotation)
Transforms this type into the upper bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardUpperBound(Collection<? extends AnnotationDescription> annotations)
Transforms this type into the upper bound of a wildcard type.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.asWildcardUpperBound(List<? extends Annotation> annotations)
Transforms this type into the upper bound of a wildcard type.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.boundedAbove(TypeDescription.Generic upperBound,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a wildcard with an upper bound.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.boundedBelow(TypeDescription.Generic lowerBound,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a wildcard with a lower bound.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.build()
Finalizes the build and finalizes the created type as a generic type description.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.build(Annotation... annotation)
Finalizes the build and finalizes the created type as a generic type description.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.build(AnnotationDescription... annotation)
Finalizes the build and finalizes the created type as a generic type description.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.build(Collection<? extends AnnotationDescription> annotations)
Finalizes the build and finalizes the created type as a generic type description.
|
TypeDescription.Generic |
TypeDescription.Generic.Builder.build(List<? extends Annotation> annotations)
Finalizes the build and finalizes the created type as a generic type description.
|
static TypeDescription.Generic |
TypeDefinition.Sort.describe(Type type)
Describes a loaded generic type as a
TypeDescription.Generic . |
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.
|
protected abstract TypeDescription.Generic |
TypeDescription.Generic.Builder.doBuild()
Builds the generic type.
|
protected TypeDescription.Generic |
TypeDescription.Generic.Builder.OfNonGenericType.doBuild() |
protected TypeDescription.Generic |
TypeDescription.Generic.Builder.OfParameterizedType.doBuild() |
protected TypeDescription.Generic |
TypeDescription.Generic.Builder.OfGenericArrayType.doBuild() |
protected TypeDescription.Generic |
TypeDescription.Generic.Builder.OfTypeVariable.doBuild() |
TypeDescription.Generic |
TypeList.Generic.Explicit.get(int index) |
TypeDescription.Generic |
TypeList.Generic.ForLoadedTypes.get(int index) |
TypeDescription.Generic |
TypeList.Generic.ForLoadedTypes.OfTypeVariables.get(int index) |
TypeDescription.Generic |
TypeList.Generic.ForDetachedTypes.get(int index) |
TypeDescription.Generic |
TypeList.Generic.ForDetachedTypes.OfTypeVariables.get(int index) |
TypeDescription.Generic |
TypeList.Generic.OfLoadedInterfaceTypes.get(int index) |
TypeDescription.Generic |
TypeList.Generic.OfConstructorExceptionTypes.get(int index) |
TypeDescription.Generic |
TypeList.Generic.OfMethodExceptionTypes.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardUpperBoundTypeList.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.ForLoadedType.WildcardLowerBoundTypeList.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForLoadedType.ParameterArgumentTypeList.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.NonAnnotatedTypeVariableList.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.ForLoadedType.TypeVariableBoundList.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForLoadedType.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.Latent.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.OfErasure.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.ForLoadedType.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.Latent.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.getComponentType() |
TypeDescription.Generic |
TypeDescription.Generic.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForLoadedType.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.Latent.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.OfErasure.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForLoadedType.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.Latent.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.getOwnerType() |
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.getSuperClass() |
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.getSuperClass() |
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.getSuperClass() |
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.getSuperClass() |
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.getSuperClass() |
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.getSuperClass() |
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.getSuperClass() |
TypeDescription.Generic |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getSuperClass() |
TypeDescription.Generic |
TypeDescription.ForLoadedType.getSuperClass() |
TypeDescription.Generic |
TypeDescription.ArrayProjection.getSuperClass() |
TypeDescription.Generic |
TypeDescription.Latent.getSuperClass() |
TypeDescription.Generic |
TypeDescription.ForPackageDescription.getSuperClass() |
TypeDescription.Generic |
TypeDefinition.getSuperClass()
Returns the super class of this type.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.of(TypeDescription typeDescription)
Resolves a type description to be represented as a generic type where any type with generic properties is
represented as a parameterized type and any type without such properties is represented as a non-generic
type.
|
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.TypeVariableReviser.onMethod(MethodDescription.InDefinedShape methodDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onMethod(MethodDescription.InDefinedShape methodDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onParameterizedType(TypeDescription.Generic parameterizedType) |
protected abstract TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onSimpleType(TypeDescription.Generic typeDescription)
Visits a simple, non-generic type, i.e. either a component type of an array or a non-array type.
|
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onSimpleType(TypeDescription.Generic typeDescription) |
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onSimpleType(TypeDescription.Generic typeDescription) |
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onSimpleType(TypeDescription.Generic typeDescription) |
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onSimpleType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.TypeVariableReviser.onType(TypeDescription typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onType(TypeDescription typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onWildcard(TypeDescription.Generic wildcard) |
protected abstract TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.resolve()
Resolves the actual generic type.
|
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.ForLoadedSuperClass.resolve() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.ForLoadedFieldType.resolve() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.ForLoadedReturnType.resolve() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.OfConstructorParameter.resolve() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.OfMethodParameter.resolve() |
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolve(AnnotatedElement annotatedType)
Resolves the annotated type as generic type description.
|
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolve(AnnotatedElement annotatedType) |
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolve(AnnotatedElement annotatedType) |
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.resolveReceiverType(AccessibleObject executable)
Resolves a method's or constructor's receiver type.
|
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForLegacyVm.resolveReceiverType(AccessibleObject executable) |
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveReceiverType(AccessibleObject executable) |
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.unbounded(List<? extends AnnotationDescription> declaredAnnotations)
Creates an unbounded wildcard.
|
static TypeDescription.Generic |
TypeDescription.Generic.Builder.unboundWildcard()
Creates an unbound wildcard without type annotations.
|
static TypeDescription.Generic |
TypeDescription.Generic.Builder.unboundWildcard(Annotation... annotation)
Creates an unbound wildcard.
|
static TypeDescription.Generic |
TypeDescription.Generic.Builder.unboundWildcard(AnnotationDescription... annotation)
Creates an unbound wildcard.
|
static TypeDescription.Generic |
TypeDescription.Generic.Builder.unboundWildcard(Collection<? extends AnnotationDescription> annotations)
Creates an unbound wildcard.
|
static TypeDescription.Generic |
TypeDescription.Generic.Builder.unboundWildcard(List<? extends Annotation> annotations)
Creates an unbound wildcard.
|
Modifier and Type | Method and Description |
---|---|
static TypeDescription.Generic.Visitor<TypeDescription.Generic> |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.bind(TypeDescription.Generic typeDescription)
Creates a visitor that binds the variables of the given generic type by the generic type's values.
|
static TypeDescription.Generic.Visitor<TypeDescription.Generic> |
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.of(TypeDefinition typeDefinition)
Returns a new detachment visitor that detaches any type matching the supplied type description.
|
Modifier and Type | Method and Description |
---|---|
static TypeDescription.Generic.Visitor<TypeDescription.Generic> |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.bind(TypeDescription.Generic typeDescription)
Creates a visitor that binds the variables of the given generic type by the generic type's values.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.boundedAbove(TypeDescription.Generic upperBound,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a wildcard with an upper bound.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.boundedBelow(TypeDescription.Generic lowerBound,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a wildcard with a lower bound.
|
boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.isAssignableFrom(TypeDescription.Generic typeDescription)
Checks if the represented type is a super type of the type that is supplied as an argument.
|
boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.AbstractBase.isAssignableFrom(TypeDescription.Generic typeDescription) |
boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.InvariantBinding.isAssignableFrom(TypeDescription.Generic typeDescription) |
boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.CovariantBinding.isAssignableFrom(TypeDescription.Generic typeDescription) |
boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.ContravariantBinding.isAssignableFrom(TypeDescription.Generic typeDescription) |
static TypeVariableToken |
TypeVariableToken.of(TypeDescription.Generic typeVariable,
ElementMatcher<? super TypeDescription> matcher)
Transforms a type variable into a type variable token with its bounds detached.
|
static boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.ofFormalTypeVariable(TypeDescription.Generic typeVariable)
Validates the type annotations on a formal type variable but not on its bounds..
|
T |
TypeDescription.Generic.Visitor.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onGenericArray(TypeDescription.Generic genericArray) |
Boolean |
TypeDescription.Generic.Visitor.TypeVariableErasing.PartialErasureReviser.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onGenericArray(TypeDescription.Generic genericArray) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onGenericArray(TypeDescription.Generic genericArray) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onGenericArray(TypeDescription.Generic genericArray) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onGenericArray(TypeDescription.Generic genericArray) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onGenericArray(TypeDescription.Generic genericArray) |
Boolean |
TypeDescription.Generic.Visitor.Validator.onGenericArray(TypeDescription.Generic genericArray) |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onGenericArray(TypeDescription.Generic genericArray) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onGenericArray(TypeDescription.Generic genericArray) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onGenericArray(TypeDescription.Generic genericArray) |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onGenericArray(TypeDescription.Generic genericArray) |
T |
TypeDescription.Generic.Visitor.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onNonGenericType(TypeDescription.Generic typeDescription) |
Boolean |
TypeDescription.Generic.Visitor.TypeVariableErasing.PartialErasureReviser.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onNonGenericType(TypeDescription.Generic typeDescription) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onNonGenericType(TypeDescription.Generic typeDescription) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onNonGenericType(TypeDescription.Generic typeDescription) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onNonGenericType(TypeDescription.Generic typeDescription) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onNonGenericType(TypeDescription.Generic typeDescription) |
Boolean |
TypeDescription.Generic.Visitor.Validator.onNonGenericType(TypeDescription.Generic typeDescription) |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onNonGenericType(TypeDescription.Generic typeDescription) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onNonGenericType(TypeDescription.Generic typeDescription) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onNonGenericType(TypeDescription.Generic typeDescription) |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onNonGenericType(TypeDescription.Generic typeDescription) |
T |
TypeDescription.Generic.Visitor.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onParameterizedType(TypeDescription.Generic parameterizedType) |
Boolean |
TypeDescription.Generic.Visitor.TypeVariableErasing.PartialErasureReviser.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onParameterizedType(TypeDescription.Generic parameterizedType) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onParameterizedType(TypeDescription.Generic parameterizedType) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onParameterizedType(TypeDescription.Generic parameterizedType) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onParameterizedType(TypeDescription.Generic parameterizedType) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onParameterizedType(TypeDescription.Generic parameterizedType) |
Boolean |
TypeDescription.Generic.Visitor.Validator.onParameterizedType(TypeDescription.Generic parameterizedType) |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onParameterizedType(TypeDescription.Generic parameterizedType) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onParameterizedType(TypeDescription.Generic parameterizedType) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onParameterizedType(TypeDescription.Generic parameterizedType) |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onParameterizedType(TypeDescription.Generic parameterizedType) |
protected abstract TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onSimpleType(TypeDescription.Generic typeDescription)
Visits a simple, non-generic type, i.e. either a component type of an array or a non-array type.
|
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onSimpleType(TypeDescription.Generic typeDescription) |
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onSimpleType(TypeDescription.Generic typeDescription) |
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onSimpleType(TypeDescription.Generic typeDescription) |
protected TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onSimpleType(TypeDescription.Generic typeDescription) |
T |
TypeDescription.Generic.Visitor.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onTypeVariable(TypeDescription.Generic typeVariable) |
Boolean |
TypeDescription.Generic.Visitor.TypeVariableErasing.PartialErasureReviser.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onTypeVariable(TypeDescription.Generic typeVariable) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onTypeVariable(TypeDescription.Generic typeVariable) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onTypeVariable(TypeDescription.Generic typeVariable) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onTypeVariable(TypeDescription.Generic typeVariable) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onTypeVariable(TypeDescription.Generic typeVariable) |
Boolean |
TypeDescription.Generic.Visitor.Validator.onTypeVariable(TypeDescription.Generic typeVariable) |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onTypeVariable(TypeDescription.Generic typeVariable) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onTypeVariable(TypeDescription.Generic typeVariable) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onTypeVariable(TypeDescription.Generic typeVariable) |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onTypeVariable(TypeDescription.Generic typeVariable) |
T |
TypeDescription.Generic.Visitor.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeVariableErasing.onWildcard(TypeDescription.Generic wildcard) |
Boolean |
TypeDescription.Generic.Visitor.TypeVariableErasing.PartialErasureReviser.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onWildcard(TypeDescription.Generic wildcard) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onWildcard(TypeDescription.Generic wildcard) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onWildcard(TypeDescription.Generic wildcard) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onWildcard(TypeDescription.Generic wildcard) |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onWildcard(TypeDescription.Generic wildcard) |
Boolean |
TypeDescription.Generic.Visitor.Validator.onWildcard(TypeDescription.Generic wildcard) |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onWildcard(TypeDescription.Generic wildcard) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onWildcard(TypeDescription.Generic wildcard) |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onWildcard(TypeDescription.Generic wildcard) |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onWildcard(TypeDescription.Generic wildcard) |
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
Collection<? extends TypeDefinition> parameters)
Creates a parameterized type.
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(Class<?> type,
TypeDescription.Generic ownerType)
Creates a raw type of a type description where the supplied owner type is used as .
|
static TypeDescription.Generic.Builder |
TypeDescription.Generic.Builder.rawType(TypeDescription type,
TypeDescription.Generic ownerType)
Creates a raw type of a type description.
|
Modifier and Type | Method and Description |
---|---|
TypeVariableToken |
TypeVariableToken.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) |
TypeList.Generic |
TypeList.Generic.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms the generic types by applying the supplied visitor to each of them.
|
TypeList.Generic |
TypeList.Generic.AbstractBase.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) |
TypeList.Generic |
TypeList.Generic.Empty.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor) |
static TypeList.Generic |
TypeList.Generic.ForDetachedTypes.attach(FieldDescription fieldDescription,
List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided field.
|
static TypeList.Generic |
TypeList.Generic.ForDetachedTypes.attach(MethodDescription methodDescription,
List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided method.
|
static TypeList.Generic |
TypeList.Generic.ForDetachedTypes.attach(ParameterDescription parameterDescription,
List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided parameter.
|
static TypeList.Generic |
TypeList.Generic.ForDetachedTypes.attach(TypeDescription typeDescription,
List<? extends TypeDescription.Generic> detachedTypes)
Creates a list of types that are attached to the provided type.
|
protected TypeList.Generic |
TypeList.Generic.AbstractBase.wrap(List<TypeDescription.Generic> values) |
Constructor and Description |
---|
ContravariantBinding(TypeDescription.Generic lowerBound)
Creates a new dispatcher for contravariant parameter of a parameterized type.
|
CovariantBinding(TypeDescription.Generic upperBound)
Creates a new dispatcher for covariant parameter of a parameterized type.
|
ForGenericArray(TypeDescription.Generic genericArray)
Creates a new dispatcher for checking the assignability of a generic array type.
|
ForParameterizedType(TypeDescription.Generic parameterizedType)
Creates a new dispatcher for checking the assignability of a parameterized type.
|
ForTypeVariable(TypeDescription.Generic typeVariable)
Creates a new dispatcher of a type variable.
|
InvariantBinding(TypeDescription.Generic typeDescription)
Creates a new dispatcher for an invariant parameter of a parameterized type.
|
Latent(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeDescription.Generic> interfaces)
Creates a new latent type.
|
Latent(TypeDescription.Generic componentType,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a latent representation of a generic array type.
|
Latent(TypeDescription typeDescription,
TypeDescription.Generic declaringType,
List<? extends AnnotationDescription> annotationDescriptions)
Creates a non-generic type.
|
Latent(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameters,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a description of a latent parameterized type.
|
NonAnnotatedTypeVariable(TypeDescription.Generic typeVariable)
Creates a new non-annotated type variable.
|
OfGenericArrayType(TypeDescription.Generic componentType)
Creates a type builder for building a generic array type.
|
OfGenericArrayType(TypeDescription.Generic componentType,
List<? extends AnnotationDescription> annotations)
Creates a type builder for building a generic array type.
|
OfNonGenericType(TypeDescription typeDescription,
TypeDescription.Generic ownerType)
Creates a builder for a non-generic type.
|
OfNonGenericType(TypeDescription typeDescription,
TypeDescription.Generic ownerType,
List<? extends AnnotationDescription> annotations)
Creates a builder for a non-generic type.
|
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes)
Creates a builder for a parameterized type.
|
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes,
List<? extends AnnotationDescription> annotations)
Creates a builder for a parameterized type.
|
RetainedMethodTypeVariable(TypeDescription.Generic typeVariable)
Creates a new retained type variable.
|
RetainedTypeVariable(TypeDescription.Generic typeVariable)
Creates a new retained type variable.
|
TypeVariableReviser(TypeDescription.Generic typeVariable)
Creates a new type variable reviser.
|
TypeVariableSubstitutor(TypeDescription.Generic typeVariable)
Creates a new type variable substitutor.
|
WithAnnotationOverlay(TypeDescription.Generic typeVariable,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a new type definition for a type variable with explicit annotations.
|
Constructor and Description |
---|
AttachedTypeVariable(TypeVariableSource typeVariableSource,
TypeVariableToken typeVariableToken,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new attached type variable.
|
ForDetachedTypes(List<? extends TypeDescription.Generic> detachedTypes,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a list of detached types that are attached on reception.
|
ForDetachedTypes(List<? extends TypeDescription.Generic> detachedTypes,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a list of detached types that are attached on reception.
|
ForTypeVariableBinding(Map<TypeDescription.Generic,TypeDescription.Generic> bindings)
Creates a new visitor for a type variable bindings.
|
ForTypeVariableBinding(Map<TypeDescription.Generic,TypeDescription.Generic> bindings)
Creates a new visitor for a type variable bindings.
|
Latent(List<? extends TypeDescription.Generic> upperBounds,
List<? extends TypeDescription.Generic> lowerBounds,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a description of a latent wildcard.
|
Latent(List<? extends TypeDescription.Generic> upperBounds,
List<? extends TypeDescription.Generic> lowerBounds,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a description of a latent wildcard.
|
Latent(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeDescription.Generic> interfaces)
Creates a new latent type.
|
Latent(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameters,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a description of a latent parameterized type.
|
NonAnnotatedTypeVariableList(List<? extends TypeDescription.Generic> typeVariables)
Creates a new list of type variables as non-annotated type arguments.
|
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes)
Creates a builder for a parameterized type.
|
OfParameterizedType(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameterTypes,
List<? extends AnnotationDescription> annotations)
Creates a builder for a parameterized type.
|
OfTypeVariables(TypeVariableSource typeVariableSource,
List<? extends TypeVariableToken> detachedTypeVariables,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new list of attached type variables representing a list of type variable tokens.
|
TypeVariableToken(String symbol,
List<? extends TypeDescription.Generic> bounds)
Creates a new type variable token without annotations.
|
TypeVariableToken(String symbol,
List<? extends TypeDescription.Generic> bounds,
List<? extends AnnotationDescription> annotations)
Creates a new type variable token.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.getReceiverType() |
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.getReturnType() |
TypeDescription.Generic |
Transformer.ForField.TransformedField.getType() |
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.TransformedParameter.getType() |
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.AttachmentVisitor.onTypeVariable(TypeDescription.Generic typeVariable) |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.AttachmentVisitor.onTypeVariable(TypeDescription.Generic typeVariable) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition.receiverType(TypeDescription.Generic receiverType)
Defines the supplied (annotated) receiver type for the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.AnnotationAdapter.receiverType(TypeDescription.Generic receiverType) |
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.receiverType(TypeDescription.Generic receiverType) |
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
DynamicType.Builder.transform(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer)
Transforms any type variable that is defined by this type if it is matched by the supplied matcher.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Delegator.transform(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer) |
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.transform(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer) |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getReturnType() |
TypeDescription.Generic |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getReturnType() |
TypeDescription.Generic |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getReturnType() |
TypeDescription.Generic |
TypeWriter.Default.ForInlining.TypeInitializerDelegate.getReturnType() |
TypeDescription.Generic |
InstrumentedType.Default.getSuperClass() |
Modifier and Type | Method and Description |
---|---|
static InstrumentedType.WithFlexibleName |
InstrumentedType.Default.subclass(String name,
int modifiers,
TypeDescription.Generic superClass)
Creates an instrumented type that is a subclass of the given super type named as given and with the modifiers.
|
Modifier and Type | Method and Description |
---|---|
InstrumentedType.WithFlexibleName |
InstrumentedType.WithFlexibleName.withTypeVariables(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer)
Applies a transformation onto all existing type variables of this instrumented type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Default.withTypeVariables(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer) |
Constructor and Description |
---|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
boolean memberClass,
boolean anonymousClass,
boolean localClass)
Creates a new instrumented type.
|
Constructor and Description |
---|
Default(String name,
int modifiers,
TypeDescription.Generic superClass,
List<? extends TypeVariableToken> typeVariables,
List<? extends TypeDescription.Generic> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
boolean memberClass,
boolean anonymousClass,
boolean localClass)
Creates a new instrumented type.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getReturnType() |
TypeDescription.Generic |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getReturnType() |
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic |
Forwarding.fieldType
The type of the field.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
Implementation.Context.Default.AccessorMethod.getReturnType() |
TypeDescription.Generic |
Implementation.Context.Default.FieldGetter.getReturnType() |
TypeDescription.Generic |
Implementation.Context.Default.FieldSetter.getReturnType() |
TypeDescription.Generic |
Implementation.Context.Default.CacheValueField.getType() |
Modifier and Type | Method and Description |
---|---|
protected ByteCodeAppender.Size |
FixedValue.apply(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
MethodDescription instrumentedMethod,
TypeDescription.Generic fixedValueType,
StackManipulation valueLoadingInstruction)
Blueprint method that for applying the actual implementation.
|
static FieldAccessor.ForNamedField.PreparationHandler |
FieldAccessor.ForNamedField.PreparationHandler.FieldDefiner.of(String name,
TypeDescription.Generic typeDescription,
ModifierContributor.ForField... contributor)
Creates a new preparation handler that defines a given field.
|
MethodCall |
MethodCall.WithoutSpecifiedTarget.onInstanceField(TypeDescription.Generic typeDescription,
String fieldName)
Invokes the given method on an instance that is stored in an instance field.
|
InstrumentedType |
Forwarding.PreparationHandler.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription.Generic fieldType)
Prepares the instrumented type.
|
InstrumentedType |
Forwarding.PreparationHandler.ForInstanceField.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription.Generic fieldType) |
InstrumentedType |
Forwarding.PreparationHandler.ForStaticField.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription.Generic fieldType) |
InstrumentedType |
Forwarding.PreparationHandler.ForStaticInstance.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription.Generic fieldType) |
Constructor and Description |
---|
CacheValueField(TypeDescription instrumentedType,
TypeDescription.Generic fieldType,
String suffix,
int valueHashCode)
Creates a new cache value field.
|
Factory(TypeDescription.Generic fieldType,
String fieldName)
Creates a factory for defining a field that is used as an argument.
|
FieldDefiner(String name,
TypeDescription.Generic typeDescription,
int modifiers)
Creates a new field definer.
|
ForInstanceField(String fieldName,
TypeDescription.Generic fieldType)
Creates a new target handler for storing a method invocation target in an
instance field.
|
ForInstanceField(String fieldName,
TypeDescription.Generic fieldType)
Creates a new argument provider that provides a value from an instance field.
|
ForInstanceField(TypeDescription.Generic fieldType,
String fieldName)
Creates a new instance field implementation delegate.
|
ForStaticField(Object value,
TypeDescription.Generic fieldType)
Creates a new argument provider that stores the given value in a static field.
|
ForVirtualMethods(MethodGraph.Compiler methodGraphCompiler,
TypeDescription.Generic targetType)
Creates a new method container for virtual method extraction.
|
Forwarding(String fieldName,
TypeDescription.Generic fieldType,
Forwarding.PreparationHandler preparationHandler)
Creates a new forwarding implementation.
|
Modifier and Type | Method and Description |
---|---|
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onGenericArray(TypeDescription.Generic genericArray) |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onNonGenericType(TypeDescription.Generic typeDescription) |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onParameterizedType(TypeDescription.Generic parameterizedType) |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onTypeVariable(TypeDescription.Generic typeVariable) |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onWildcard(TypeDescription.Generic wildcard) |
Modifier and Type | Method and Description |
---|---|
static AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender,
AnnotationValueFilter annotationValueFilter,
boolean variableOnType,
int subListIndex,
List<? extends TypeDescription.Generic> typeVariables)
Appends all supplied type variables to the supplied method appender.
|
static AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.ofTypeVariable(AnnotationAppender annotationAppender,
AnnotationValueFilter annotationValueFilter,
boolean variableOnType,
List<? extends TypeDescription.Generic> typeVariables)
Appends all supplied type variables to the supplied method appender.
|
Constructor and Description |
---|
ForReceiverType(TypeDescription.Generic receiverType)
Creates a new attribute appender that writes a receiver type.
|
Modifier and Type | Method and Description |
---|---|
protected abstract MethodDelegationBinder.ParameterBinding<?> |
Argument.BindingMechanic.makeBinding(TypeDescription.Generic source,
TypeDescription.Generic target,
int sourceParameterIndex,
Assigner assigner,
Assigner.Typing typing,
int parameterOffset)
Creates a binding that corresponds to this binding mechanic.
|
TypeDescription |
Default.Binder.TypeLocator.resolve(TypeDescription.Generic parameterType)
Resolves the target type.
|
TypeDescription |
Default.Binder.TypeLocator.ForParameterType.resolve(TypeDescription.Generic parameterType) |
TypeDescription |
Default.Binder.TypeLocator.ForType.resolve(TypeDescription.Generic parameterType) |
TypeDescription |
Super.Binder.TypeLocator.resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType)
Resolves the target type.
|
TypeDescription |
Super.Binder.TypeLocator.ForInstrumentedType.resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType) |
TypeDescription |
Super.Binder.TypeLocator.ForParameterType.resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType) |
TypeDescription |
Super.Binder.TypeLocator.ForType.resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType) |
Modifier and Type | Method and Description |
---|---|
StackManipulation |
Assigner.assign(TypeDescription.Generic source,
TypeDescription.Generic target,
Assigner.Typing typing) |
StackManipulation |
Assigner.Refusing.assign(TypeDescription.Generic source,
TypeDescription.Generic target,
Assigner.Typing typing) |
Modifier and Type | Method and Description |
---|---|
protected TypeDescription.Generic |
PrimitiveUnboxingDelegate.getWrapperType()
Returns the wrapper type that this unboxing delegate represents.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
VoidAwareAssigner.assign(TypeDescription.Generic source,
TypeDescription.Generic target,
Assigner.Typing typing) |
StackManipulation |
PrimitiveTypeAwareAssigner.assign(TypeDescription.Generic source,
TypeDescription.Generic target,
Assigner.Typing typing) |
StackManipulation |
PrimitiveBoxingDelegate.assignBoxedTo(TypeDescription.Generic target,
Assigner chainedAssigner,
Assigner.Typing typing)
Creates a stack manipulation that boxes the represented primitive type and applies a chained assignment
to the result of this boxing operation.
|
StackManipulation |
PrimitiveUnboxingDelegate.ExplicitlyTypedUnboxingResponsible.assignUnboxedTo(TypeDescription.Generic targetType,
Assigner assigner,
Assigner.Typing typing) |
StackManipulation |
PrimitiveUnboxingDelegate.UnboxingResponsible.assignUnboxedTo(TypeDescription.Generic target,
Assigner assigner,
Assigner.Typing typing)
Attempts to unbox the represented type in order to assign the unboxed value to the given target type
while using the assigner that is provided by the method call.
|
StackManipulation |
PrimitiveUnboxingDelegate.ImplicitlyTypedUnboxingResponsible.assignUnboxedTo(TypeDescription.Generic target,
Assigner assigner,
Assigner.Typing typing) |
protected static PrimitiveUnboxingDelegate |
PrimitiveUnboxingDelegate.forPrimitive(TypeDescription.Generic typeDescription)
Locates a primitive unboxing delegate for a given primitive type.
|
Constructor and Description |
---|
ImplicitlyTypedUnboxingResponsible(TypeDescription.Generic originalType)
Creates a new implicitly typed unboxing responsible.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
ReferenceTypeAwareAssigner.assign(TypeDescription.Generic source,
TypeDescription.Generic target,
Assigner.Typing typing) |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
CollectionFactory.getComponentType()
The component type of this factory.
|
TypeDescription.Generic |
ArrayFactory.getComponentType() |
Modifier and Type | Method and Description |
---|---|
static ArrayFactory |
ArrayFactory.forType(TypeDescription.Generic componentType)
Creates a new array factory for a given component type.
|
Constructor and Description |
---|
ArrayFactory(TypeDescription.Generic componentType,
ArrayFactory.ArrayCreator arrayCreator)
Creates a new array factory with a given
ArrayFactory.ArrayCreator
without inferring the type from the component type. |
Modifier and Type | Method and Description |
---|---|
static <T extends TypeDescription.Generic> |
ElementMatchers.rawType(Class<?> type)
Matches a generic type's raw type against the provided raw type.
|
static <T extends TypeDescription.Generic> |
ElementMatchers.rawType(ElementMatcher<? super TypeDescription> matcher)
Converts a matcher for a type description into a matcher for a raw type of the matched generic type against the given matcher.
|
static <T extends TypeDescription.Generic> |
ElementMatchers.rawType(TypeDescription type)
Matches a generic type's raw type against the provided raw type.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.rawTypes(Class<?>... type)
Matches an iteration of generic types' erasures against the provided raw types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.rawTypes(ElementMatcher<? super Iterable<? extends TypeDescription>> matcher)
Applies the provided matcher to an iteration og generic types' generic types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.rawTypes(Iterable<? extends TypeDescription> types)
Matches an iteration of generic types' erasures against the provided raw types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.rawTypes(TypeDescription... type)
Matches an iteration of generic types' erasures against the provided raw types.
|
Modifier and Type | Method and Description |
---|---|
static <T extends MethodDescription> |
ElementMatchers.declaresGenericException(TypeDescription.Generic exceptionType)
Matches a method that declares the given generic exception type.
|
static <T extends FieldDescription> |
ElementMatchers.genericFieldType(TypeDescription.Generic fieldType)
Matches a field's generic type against the provided matcher.
|
static <T extends ByteCodeElement> |
ElementMatchers.isDeclaredByGeneric(TypeDescription.Generic type)
Matches a
ByteCodeElement for being declared by a given TypeDescription.Generic . |
static <T extends MethodDescription> |
ElementMatchers.isGenericGetter(TypeDescription.Generic type)
Matches any Java bean getter method which returns the given type.
|
static <T extends MethodDescription> |
ElementMatchers.isGenericSetter(TypeDescription.Generic type)
Matches any Java bean setter method which takes an argument the given type.
|
static <T extends MethodDescription> |
ElementMatchers.isOverriddenFromGeneric(TypeDescription.Generic type)
Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.
|
static <T extends MethodDescription> |
ElementMatchers.returnsGeneric(TypeDescription.Generic type)
Matches
MethodDescription s that returns a given
TypeDescription . |
static <T extends MethodDescription> |
ElementMatchers.takesGenericArgument(int index,
TypeDescription.Generic type)
Matches
MethodDescription s that define a given generic type as a parameter at the given index. |
Modifier and Type | Method and Description |
---|---|
static <T extends MethodDescription> |
ElementMatchers.declaresGenericException(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matcher)
Matches a method's generic exception types against the provided matcher.
|
static <T extends FieldDescription> |
ElementMatchers.genericFieldType(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches a field's generic type against the provided matcher.
|
static <T extends TypeDescription> |
ElementMatchers.hasGenericSuperType(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches any type description that declares a super type that matches the provided matcher.
|
static <T extends ParameterDescription> |
ElementMatchers.hasGenericType(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches a method parameter by its generic type.
|
static <T extends ByteCodeElement> |
ElementMatchers.isDeclaredByGeneric(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches a
ByteCodeElement for being declared by a TypeDescription.Generic that is matched by the given matcher. |
static <T extends MethodDescription> |
ElementMatchers.isGenericGetter(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches any Java bean getter method which returns an value with a type matches the supplied matcher.
|
static <T extends MethodDescription> |
ElementMatchers.isGenericSetter(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches any Java bean setter method which takes an argument that matches the supplied matcher.
|
static <T extends MethodDescription> |
ElementMatchers.isOverriddenFromGeneric(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches any virtual method with a signature that is compatible to a method that is declared by a type that matches the supplied matcher.
|
static <T extends MethodDescription> |
ElementMatchers.returnsGeneric(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches
MethodDescription s that match a matched method's return type. |
static <T extends MethodDescription> |
ElementMatchers.takesGenericArgument(int index,
ElementMatcher<? super TypeDescription.Generic> matcher)
Matches
MethodDescription s that define a given generic type as a parameter at the given index. |
static <T extends MethodDescription> |
ElementMatchers.takesGenericArguments(ElementMatcher<? super Iterable<? extends TypeDescription.Generic>> matchers)
Matches a
MethodDescription by applying an iterable collection of element matcher on any parameter's TypeDescription . |
Constructor and Description |
---|
DeclaringTypeMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
Creates a new matcher for the declaring type of an element.
|
FieldTypeMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
Creates a new matcher for a matched field's type.
|
HasSuperTypeMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
Creates a new matcher for a super type.
|
MethodOverrideMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
Creates a new method override matcher.
|
MethodParameterTypeMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
Creates a new matcher for a method's parameter's type.
|
MethodParameterTypesMatcher(ElementMatcher<? super List<? extends TypeDescription.Generic>> matcher)
Creates a new matcher for a method's parameter types.
|
MethodReturnTypeMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
Creates a new matcher for a matched element's return type.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.LazyRawAnnotatedTypeList.get(int index) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable.LazyBoundTokenList.get(int index) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.get(int index) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.ForWildcardBound.get(int index) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getComponentType() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getComponentType() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.LazyGenericArray.getComponentType() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getOwnerType() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getOwnerType() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType.getOwnerType() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType.getOwnerType() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.getSuperClass() |
protected static TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.of(TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
String descriptor)
Creates a new raw annotated type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
FieldDescription.InDefinedShape definingField) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
FieldDescription.InDefinedShape definingField) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
FieldDescription.InDefinedShape definingField)
Resolves the field type of the represented field.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
FieldDescription.InDefinedShape definingField) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
MethodDescription.InDefinedShape definingMethod) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
MethodDescription.InDefinedShape definingMethod) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
MethodDescription.InDefinedShape definingMethod)
Resolves the return type of the represented method.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
MethodDescription.InDefinedShape definingMethod) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveSuperClass(String superClassDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeDescription definingType) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveSuperClass(String superClassDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeDescription definingType) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.resolveSuperClass(String superClassDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeDescription definingType)
Resolves the generic super type of the represented type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveSuperClass(String superClassDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeDescription definingType) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> boundaryAnnotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForRawType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForTypeVariable.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens) |
Constructor and Description |
---|
AnnotatedTypeVariable(TypePool typePool,
List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens,
TypeDescription.Generic typeVariable)
Creates a new annotated type variable.
|
Copyright © 2014–2016. All rights reserved.