Package | Description |
---|---|
net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
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.
|
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)
Determines a new name when creating a new type that subclasses the provided type.
|
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic |
Advice.OffsetMapping.Target.ForArray.target
The compound target type.
|
protected TypeDescription.Generic |
Advice.OffsetMapping.ForArgument.target
The type expected by the advice method.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
MemberSubstitution.Substitution.Chain.Step.Resolution.getResultType()
Returns the resulting type of the substitution or
void if no resulting value is applied. |
TypeDescription.Generic |
MemberSubstitution.Substitution.Chain.Step.Simple.getResultType()
Returns the resulting type of the substitution or
void if no resulting value is applied. |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
Advice.WithCustomMapping.bind(Class<T> type,
StackManipulation stackManipulation,
TypeDescription.Generic targetType)
Binds the supplied annotation to the annotation's property of the specified name.
|
StackManipulation |
MemberSubstitution.Replacement.Binding.make(TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Creates a stack manipulation that represents the substitution.
|
StackManipulation |
MemberSubstitution.Replacement.Binding.Unresolved.make(TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Creates a stack manipulation that represents the substitution.
|
StackManipulation |
MemberSubstitution.Replacement.Binding.Resolved.make(TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Creates a stack manipulation that represents the substitution.
|
FieldDescription |
MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the field to substitute with.
|
FieldDescription |
MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.Simple.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the field to substitute with.
|
FieldDescription |
MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the field to substitute with.
|
MethodDescription |
MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the method to substitute with.
|
MethodDescription |
MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the method to substitute with.
|
MethodDescription |
MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result)
Resolves the method to substitute with.
|
StackManipulation |
MemberSubstitution.Substitution.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Resolves this substitution into a stack manipulation.
|
StackManipulation |
MemberSubstitution.Substitution.Stubbing.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Resolves this substitution into a stack manipulation.
|
StackManipulation |
MemberSubstitution.Substitution.ForFieldAccess.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Resolves this substitution into a stack manipulation.
|
StackManipulation |
MemberSubstitution.Substitution.ForMethodInvocation.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Resolves this substitution into a stack manipulation.
|
StackManipulation |
MemberSubstitution.Substitution.Chain.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Resolves this substitution into a stack manipulation.
|
MemberSubstitution.Substitution.Chain.Step.Resolution |
MemberSubstitution.Substitution.Chain.Step.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic current,
Map<Integer,Integer> offsets,
int freeOffset)
Resolves this step of a substitution chain.
|
MemberSubstitution.Substitution.Chain.Step.Resolution |
MemberSubstitution.Substitution.Chain.Step.Simple.resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
TypeDescription.Generic current,
Map<Integer,Integer> offsets,
int freeOffset)
Resolves this step of a substitution chain.
|
Constructor and Description |
---|
Factory(Class<T> annotationType,
StackManipulation stackManipulation,
TypeDescription.Generic typeDescription)
Creates a new factory for binding a stack manipulation.
|
ForAllArguments(TypeDescription.Generic target,
Advice.AllArguments annotation)
Creates a new offset mapping for an array containing all arguments.
|
ForAllArguments(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing)
Creates a new offset mapping for an array containing all arguments.
|
ForArgument(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing)
Creates a new offset mapping for a parameter of the instrumented method.
|
ForArray(TypeDescription.Generic target,
List<? extends StackManipulation> valueReads)
Creates a new target mapping for an array of all local variables.
|
ForEnterValue(TypeDescription.Generic target,
TypeDescription.Generic enterType,
Advice.Enter enter)
Creates a new offset mapping for the enter type.
|
ForEnterValue(TypeDescription.Generic target,
TypeDescription.Generic enterType,
boolean readOnly,
Assigner.Typing typing)
Creates a new offset mapping for the enter type.
|
ForExitValue(TypeDescription.Generic target,
TypeDescription.Generic exitType,
Advice.Exit exit)
Creates a new offset mapping for the exit type.
|
ForExitValue(TypeDescription.Generic target,
TypeDescription.Generic exitType,
boolean readOnly,
Assigner.Typing typing)
Creates a new offset mapping for the enter type.
|
ForField(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing)
Creates an offset mapping for a field.
|
ForLocalValue(TypeDescription.Generic target,
TypeDescription.Generic localType,
String name)
Creates an offset mapping for a local variable that is declared by the advice methods via
Advice.Local . |
ForReturnValue(TypeDescription.Generic target,
Advice.Return annotation)
Creates a new offset mapping for a return value.
|
ForReturnValue(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing)
Creates a new offset mapping for a return value.
|
ForSerializedValue(TypeDescription.Generic target,
TypeDescription typeDescription,
StackManipulation deserialization)
Creates a new offset mapping for a serialized value.
|
ForStackManipulation(StackManipulation stackManipulation,
TypeDescription.Generic typeDescription,
TypeDescription.Generic targetType,
Assigner.Typing typing)
Creates an offset mapping that binds a stack manipulation.
|
ForThisReference(TypeDescription.Generic target,
Advice.This annotation)
Creates a new offset mapping for a
this reference. |
ForThisReference(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
boolean optional)
Creates a new offset mapping for a
this reference. |
ForThrowable(TypeDescription.Generic target,
Advice.Thrown annotation)
Creates a new offset mapping for access of the exception that is thrown by the instrumented method..
|
ForThrowable(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing)
Creates a new offset mapping for access of the exception that is thrown by the instrumented method..
|
ReadOnly(TypeDescription.Generic target,
List<? extends StackManipulation> valueReads)
Creates a read-only target mapping for an array of all local variables.
|
ReadWrite(TypeDescription.Generic target,
List<? extends StackManipulation> valueReads,
List<? extends StackManipulation> valueWrites)
Creates a writable target mapping for an array of all local variables.
|
Resolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
FieldDescription fieldDescription)
Creates a resolved offset mapping for a field.
|
Resolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
ParameterDescription parameterDescription)
Creates an offset mapping that binds a parameter of the instrumented method.
|
Simple(StackManipulation stackManipulation,
TypeDescription.Generic resultType)
Creates a new simple substitution step.
|
Unresolved(TypeDescription.Generic target,
Advice.Argument argument)
Creates a new offset binding for a parameter with a given index.
|
Unresolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
int index)
Creates a non-optional offset binding for a parameter with a given index.
|
Unresolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
int index,
boolean optional)
Creates a new offset binding for a parameter with a given index.
|
Unresolved(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
String name)
Creates an offset mapping for a field that is not yet resolved.
|
WithExplicitType(TypeDescription.Generic target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation,
TypeDescription declaringType)
Creates an offset mapping for a field with an explicit declaring type.
|
WithExplicitType(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
String name,
TypeDescription declaringType)
Creates an offset mapping for a field with an explicit declaring type.
|
WithImplicitType(TypeDescription.Generic target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation)
Creates an offset mapping for a field with an implicit declaring type.
|
WithImplicitType(TypeDescription.Generic target,
boolean readOnly,
Assigner.Typing typing,
String name)
Creates an offset mapping for a field with an implicit declaring type.
|
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)
Finds a particular variable with the given name in the closes type variable source that is visible from this instance.
|
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()
Returns the declaring type of this instance.
|
TypeDescription.Generic |
FieldDescription.TypeSubstituting.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription.Generic |
FieldDescription.getType()
Returns the type of the described field.
|
TypeDescription.Generic |
FieldDescription.ForLoadedField.getType()
Returns the type of the described field.
|
TypeDescription.Generic |
FieldDescription.Latent.getType()
Returns the type of the described field.
|
TypeDescription.Generic |
FieldDescription.TypeSubstituting.getType()
Returns the type of the described field.
|
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)
Transforms the types represented by this token by applying the given visitor to them.
|
Constructor and Description |
---|
Latent(TypeDescription declaringType,
String name,
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 | Field and Description |
---|---|
protected TypeDescription.Generic |
MethodList.TypeSubstituting.declaringType
The methods' declaring type.
|
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> |
MethodList.TypeSubstituting.visitor
The visitor to apply to each method description before returning it.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
MethodDescription.InGenericShape.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription.Generic |
MethodDescription.TypeSubstituting.getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription.Generic |
MethodDescription.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.InDefinedShape.AbstractBase.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.ForLoadedConstructor.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.ForLoadedMethod.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.Latent.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
MethodDescription.TypeSubstituting.getReceiverType()
Returns this methods receiver type.
|
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()
Returns the return type of the described method.
|
TypeDescription.Generic |
MethodDescription.ForLoadedMethod.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
MethodDescription.Latent.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
MethodDescription.Latent.TypeInitializer.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
MethodDescription.TypeSubstituting.getReturnType()
Returns the return type of the described method.
|
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()
Returns the type of this parameter.
|
TypeDescription.Generic |
ParameterDescription.ForLoadedParameter.OfConstructor.getType()
Returns the type of this parameter.
|
TypeDescription.Generic |
ParameterDescription.ForLoadedParameter.OfLegacyVmMethod.getType()
Returns the type of this parameter.
|
TypeDescription.Generic |
ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor.getType()
Returns the type of this parameter.
|
TypeDescription.Generic |
ParameterDescription.Latent.getType()
Returns the type of this parameter.
|
TypeDescription.Generic |
ParameterDescription.TypeSubstituting.getType()
Returns the type of this parameter.
|
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)
Transforms the types represented by this token by applying the given visitor to them.
|
MethodDescription.Token |
MethodDescription.Token.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms the types represented by this token by applying the given visitor to them.
|
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.
|
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.LazyProjection.OfRecordComponent
A lazy projection of a
java.lang.reflect.RecordComponent 's type. |
static class |
TypeDescription.Generic.LazyProjection.WithEagerNavigation
A lazy projection of a type that resolves super class and interface types eagerly.
|
protected static class |
TypeDescription.Generic.LazyProjection.WithEagerNavigation.OfAnnotatedElement
A description of an annotated lazy type with eager navigation.
|
static class |
TypeDescription.Generic.LazyProjection.WithLazyNavigation
A lazy projection of a type with a lazy resolution of super class and interface types.
|
protected static class |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType
A lazy interface type description for a lazy projection.
|
protected static class |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass
A lazy super class description for a lazy projection.
|
protected static class |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.OfAnnotatedElement
A description of an annotated lazy type with lazy navigation.
|
static class |
TypeDescription.Generic.LazyProjection.WithResolvedErasure
A lazy projection that applies a visitor only when resolving the generic type but not when reading the erasure.
|
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.ForErasure
A type description for a type erasure.
|
static class |
TypeDescription.Generic.OfNonGenericType.ForLoadedType
Represents a non-generic type for a loaded
Class . |
static class |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure
A representation of a raw type that preserves its generic super types' generic information with a minimum
but erases all of their members' types.
|
static class |
TypeDescription.Generic.OfNonGenericType.Latent
A latent description of a non-generic type.
|
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 an erasure as a generic type where all type variables are representing their own arguments.
|
static class |
TypeDescription.Generic.OfParameterizedType.ForLoadedType
Description of a loaded parameterized type.
|
static class |
TypeDescription.Generic.OfParameterizedType.ForReifiedType
A representation of a parameterized type that is a super type of a raw type but preserves the minimal type information
that is required for allowing creating correct erasures for overridden methods.
|
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.SuperTypeLoading.ClassLoadingTypeProjection
A type projection that attempts to load any super type of the delegate type.
|
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.CLASS
A representation of the
Class non-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()
Returns this type definition as a generic type.
|
TypeDescription.Generic |
TypeDescription.AbstractBase.asGenericType()
Returns this type definition as a generic type.
|
TypeDescription.Generic |
TypeDescription.ForLoadedType.asGenericType()
Returns this type definition as a generic type.
|
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()
Returns this type as a raw type.
|
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,
AnnotationSource annotationSource)
Creates a wildcard with an upper bound.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.boundedBelow(TypeDescription.Generic lowerBound,
AnnotationSource annotationSource)
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 |
TypeDescription.Generic.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
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.WithResolvedErasure.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.OfTypeVariable.ForLoadedType.TypeVariableBoundList.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceList.get(int index) |
TypeDescription.Generic |
TypeDescription.SuperTypeLoading.ClassLoadingTypeList.get(int index) |
TypeDescription.Generic |
TypeDescription.Generic.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForLoadedType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForErasure.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.Latent.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.ForLoadedType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.Latent.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForLoadedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForErasure.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.Latent.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForLoadedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.Latent.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForReifiedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForReifiedType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithEagerNavigation.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.ForLoadedType.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.ArrayProjection.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.Latent.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.ForPackageDescription.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.SuperTypeLoading.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
TypeDefinition.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
RecordComponentDescription.getType()
Returns the type of the record.
|
TypeDescription.Generic |
RecordComponentDescription.ForLoadedRecordComponent.getType()
Returns the type of the record.
|
TypeDescription.Generic |
RecordComponentDescription.Latent.getType()
Returns the type of the record.
|
TypeDescription.Generic |
RecordComponentDescription.TypeSubstituting.getType()
Returns the type of the record.
|
TypeDescription.Generic |
RecordComponentDescription.Token.getType()
Returns the token's type.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForLoadedType.of(Class<?> type)
Returns a new immutable generic type description for a loaded type.
|
protected static TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass.of(TypeDescription.Generic.LazyProjection delegate)
Resolves a lazy super class description.
|
protected static TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.of(TypeDescription typeDescription)
Creates a new generic type representation for an erasure where any generified type is reified.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.of(TypeDescription typeDescription)
Represents the supplied type description as a generified erasure if it is generified or as a non-generic type if not so.
|
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onMethod(MethodDescription.InDefinedShape methodDescription)
Applies the visitor on a method.
|
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
protected abstract TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onSimpleType(TypeDescription.Generic typeDescription)
Visits a simple, non-generic type, i.e.
|
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.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onType(TypeDescription typeDescription)
Applies the visitor on a type.
|
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
protected abstract TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.resolve()
Resolves the actual generic type.
|
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass.resolve() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType.resolve() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.ForLoadedSuperClass.resolve()
Resolves the actual generic type.
|
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() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.OfRecordComponent.resolve() |
protected TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.WithResolvedErasure.resolve() |
protected TypeDescription.Generic |
TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection.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)
Resolves the annotated type as generic type description.
|
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolve(AnnotatedElement annotatedType)
Resolves the annotated type as generic type description.
|
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)
Resolves a method's or constructor's receiver type.
|
TypeDescription.Generic |
TypeDescription.Generic.AnnotationReader.Dispatcher.ForJava8CapableVm.resolveReceiverType(AccessibleObject executable)
Resolves a method's or constructor's receiver type.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.unbounded(AnnotationSource annotationSource)
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.ForDetachment.of(TypeDefinition typeDefinition)
Returns a new detachment visitor that detaches any type matching the supplied type description.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
TypeDescription.Generic.OfParameterizedType.RenderingDelegate.apply(StringBuilder stringBuilder,
TypeDescription erasure,
TypeDescription.Generic ownerType)
Applies this rendering delegate.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.boundedAbove(TypeDescription.Generic upperBound,
AnnotationSource annotationSource)
Creates a wildcard with an upper bound.
|
static TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.Latent.boundedBelow(TypeDescription.Generic lowerBound,
AnnotationSource annotationSource)
Creates a wildcard with a lower bound.
|
TypeDescription.Generic |
TypeDescription.Generic.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfNonGenericType.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfGenericArray.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfWildcardType.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfParameterizedType.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.OfTypeVariable.Symbolic.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
TypeDescription.Generic |
TypeDescription.Generic.LazyProjection.findBindingOf(TypeDescription.Generic typeVariable)
Returns the parameter binding of the supplied type variable.
|
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)
Checks if the represented type is a super type of the type that is supplied as an argument.
|
boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.InvariantBinding.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.ForParameterizedType.ParameterAssigner.CovariantBinding.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.ForParameterizedType.ParameterAssigner.ContravariantBinding.isAssignableFrom(TypeDescription.Generic typeDescription)
Checks if the represented type is a super type of the type that is supplied as an argument.
|
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)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
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)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.WithoutTypeSubstitution.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
T |
TypeDescription.Generic.Visitor.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
protected abstract TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onSimpleType(TypeDescription.Generic typeDescription)
Visits a simple, non-generic type, i.e.
|
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)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForAttachment.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForDetachment.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
T |
TypeDescription.Generic.Visitor.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.NoOp.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.TypeErasing.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.AnnotationStripper.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForTypeVariable.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic.Visitor.Assigner.Dispatcher |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForParameterizedType.ParameterAssigner.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
TypeDescription.Generic.Visitor.Assigner.Dispatcher.ForGenericArray.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
TypeDescription.Generic.Visitor.Validator.ForTypeAnnotations.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Reifying.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
SignatureVisitor |
TypeDescription.Generic.Visitor.ForSignatureVisitor.OfTypeArgument.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.Substitutor.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription.Generic |
TypeDescription.Generic.Visitor.ForRawType.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
TypeDescription |
TypeDescription.Generic.Visitor.Reducing.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#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)
Transforms the types represented by this token by applying the given visitor to them.
|
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)
Transforms the generic types by applying the supplied visitor to each of them.
|
TypeList.Generic |
TypeList.Generic.Empty.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms the generic types by applying the supplied visitor to each of them.
|
RecordComponentDescription.Token |
RecordComponentDescription.Token.accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Transforms the types represented by this token by applying the given visitor to them.
|
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.
|
protected TypeList.Generic |
TypeList.Generic.AbstractBase.wrap(List<TypeDescription.Generic> values) |
Constructor and Description |
---|
ClassLoadingTypeProjection(TypeDescription.Generic delegate,
ClassLoader classLoader,
TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate)
Creates a class loading type 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.
|
ForReifiedType(TypeDescription.Generic parameterizedType)
Creates a new reified parameterized type.
|
ForTypeVariable(TypeDescription.Generic typeVariable)
Creates a new dispatcher of a type variable.
|
ForTypeVariableBinding(TypeDescription.Generic parameterizedType)
Creates a new visitor for binding a parameterized type's type arguments to its type variables.
|
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(String name,
int modifiers,
TypeDescription.Generic superClass,
TypeDescription.Generic... anInterface)
Creates a new latent type.
|
Latent(String name,
int modifiers,
TypeDescription.Generic superClass,
TypeDescription.Generic... anInterface)
Creates a new latent type.
|
Latent(TypeDescription.Generic componentType,
AnnotationSource annotationSource)
Creates a latent representation of a generic array type.
|
Latent(TypeDescription declaringType,
String name,
TypeDescription.Generic type,
List<? extends AnnotationDescription> annotations)
Creates a new latent record component.
|
Latent(TypeDescription typeDescription,
TypeDescription.Generic declaringType,
AnnotationSource annotationSource)
Creates a non-generic type.
|
Latent(TypeDescription rawType,
TypeDescription.Generic ownerType,
List<? extends TypeDescription.Generic> parameters,
AnnotationSource annotationSource)
Creates a description of a latent parameterized type.
|
LazyInterfaceType(TypeDescription.Generic.LazyProjection delegate,
int index,
TypeDescription.Generic rawInterface)
Creates a new lazy interface 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.
|
Token(String name,
TypeDescription.Generic type)
Creates a new record component token without annotations.
|
Token(String name,
TypeDescription.Generic type,
List<? extends AnnotationDescription> annotations)
Creates a new record component token.
|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends RecordComponentDescription> recordComponentDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a type substituting list of record component descriptions.
|
TypeSubstituting(TypeDescription.Generic declaringType,
RecordComponentDescription recordComponentDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting representation of a record component description.
|
TypeVariableSubstitutor(TypeDescription.Generic typeVariable)
Creates a new type variable substitutor.
|
WithAnnotationOverlay(TypeDescription.Generic typeVariable,
AnnotationSource annotationSource)
Creates a new type definition for a type variable with explicit annotations.
|
WithResolvedErasure(TypeDescription.Generic delegate,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a lazy projection with a resolved erasure that retains the delegates type annotations.
|
WithResolvedErasure(TypeDescription.Generic delegate,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor,
AnnotationSource annotationSource)
Creates a lazy projection with a resolved erasure.
|
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.
|
Latent(List<? extends TypeDescription.Generic> upperBounds,
List<? extends TypeDescription.Generic> lowerBounds,
AnnotationSource annotationSource)
Creates a description of a latent wildcard.
|
Latent(List<? extends TypeDescription.Generic> upperBounds,
List<? extends TypeDescription.Generic> lowerBounds,
AnnotationSource annotationSource)
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,
AnnotationSource annotationSource)
Creates a description of a latent parameterized 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.
|
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.
|
TypeSubstituting(TypeDescription.Generic declaringType,
List<? extends RecordComponentDescription> recordComponentDescriptions,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a type substituting list of record component descriptions.
|
TypeSubstituting(TypeDescription.Generic declaringType,
RecordComponentDescription recordComponentDescription,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new type substituting representation of a record component description.
|
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.
|
WithResolvedErasure(List<? extends TypeDescription.Generic> detachedTypes,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a list of generic type descriptions that are resolved lazily, i.e.
|
WithResolvedErasure(List<? extends TypeDescription.Generic> detachedTypes,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a list of generic type descriptions that are resolved lazily, i.e.
|
WithResolvedErasure(TypeDescription.Generic delegate,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a lazy projection with a resolved erasure that retains the delegates type annotations.
|
WithResolvedErasure(TypeDescription.Generic delegate,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor,
AnnotationSource annotationSource)
Creates a lazy projection with a resolved erasure.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.getReceiverType()
Returns this methods receiver type.
|
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
Transformer.ForField.TransformedField.getType()
Returns the type of the described field.
|
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.TransformedParameter.getType()
Returns the type of this parameter.
|
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.AttachmentVisitor.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
Transformer.ForMethod.TransformedMethod.AttachmentVisitor.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
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)
Defines the supplied (annotated) receiver type for the previously defined or matched method.
|
DynamicType.Builder.MethodDefinition<U> |
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.AnnotationAdapter.receiverType(TypeDescription.Generic receiverType)
Defines the supplied (annotated) receiver type for the previously defined or matched method.
|
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)
Transforms any type variable that is defined by this type if it is matched by the supplied matcher.
|
DynamicType.Builder<U> |
DynamicType.Builder.AbstractBase.Adapter.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.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
InstrumentedType.Default.getSuperClass()
Returns the super class of this type.
|
TypeDescription.Generic |
InstrumentedType.Frozen.getSuperClass()
Returns the super class of this type.
|
Modifier and Type | Method and Description |
---|---|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.analyzeNullable(TypeDescription.Generic typeDescription,
Map<TypeDefinition,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description.
|
static InstrumentedType |
InstrumentedType.Default.of(String name,
TypeDescription.Generic superClass,
int modifiers)
Creates a new instrumented type.
|
static InstrumentedType |
InstrumentedType.Default.of(String name,
TypeDescription.Generic superClass,
ModifierContributor.ForType... modifierContributor)
Creates a new instrumented type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Factory.subclass(String name,
int modifiers,
TypeDescription.Generic superClass)
Creates a new instrumented type as a subclass.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Factory.Default.subclass(String name,
int modifiers,
TypeDescription.Generic superClass)
Creates a new instrumented type as a subclass.
|
Modifier and Type | Method and Description |
---|---|
static <S> MethodGraph.Compiler |
MethodGraph.Compiler.Default.of(MethodGraph.Compiler.Default.Harmonizer<S> harmonizer,
MethodGraph.Compiler.Default.Merger merger,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a default compiler using the given harmonizer and merger.
|
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)
Applies a transformation onto all existing type variables of this instrumented type.
|
InstrumentedType.WithFlexibleName |
InstrumentedType.Frozen.withTypeVariables(ElementMatcher<? super TypeDescription.Generic> matcher,
Transformer<TypeVariableToken> transformer)
Applies a transformation onto all existing type variables of this 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 RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Constructor and Description |
---|
Default(MethodGraph.Compiler.Default.Harmonizer<T> harmonizer,
MethodGraph.Compiler.Default.Merger merger,
TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)
Creates a new default method graph compiler.
|
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 RecordComponentDescription.Token> recordComponentTokens,
List<? extends AnnotationDescription> annotationDescriptions,
TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription.InDefinedShape enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
List<? extends TypeDescription> permittedSubclasses,
boolean anonymousClass,
boolean localClass,
boolean record,
TypeDescription nestHost,
List<? extends TypeDescription> nestMembers)
Creates a new instrumented type.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getReturnType()
Returns the return type of the described method.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder<T> |
DecoratingDynamicTypeBuilder.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.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
Implementation.Context.Default.AccessorMethod.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
Implementation.Context.Default.FieldGetter.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
Implementation.Context.Default.FieldSetter.getReturnType()
Returns the return type of the described method.
|
TypeDescription.Generic |
Implementation.Context.Default.CacheValueField.getType()
Returns the type of the described field.
|
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.
|
protected InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved |
InvokeDynamic.InvocationProvider.ArgumentProvider.ForField.doResolve(StackManipulation access,
TypeDescription.Generic type,
Assigner assigner,
Assigner.Typing typing)
Resolves this argument provider.
|
protected InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved |
InvokeDynamic.InvocationProvider.ArgumentProvider.ForField.WithExplicitType.doResolve(StackManipulation access,
TypeDescription.Generic typeDescription,
Assigner assigner,
Assigner.Typing typing)
Resolves this argument provider.
|
protected InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved |
InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.doResolve(StackManipulation access,
TypeDescription.Generic type,
Assigner assigner,
Assigner.Typing typing)
Resolves this argument provider.
|
protected InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved |
InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.WithExplicitType.doResolve(StackManipulation access,
TypeDescription.Generic type,
Assigner assigner,
Assigner.Typing typing)
Resolves this argument provider.
|
Implementation.Composable |
FieldAccessor.PropertyConfigurable.setsValue(StackManipulation stackManipulation,
TypeDescription.Generic typeDescription)
Defines a setter of a value that is represented by a stack manipulation.
|
Implementation.Composable |
FieldAccessor.ForImplicitProperty.setsValue(StackManipulation stackManipulation,
TypeDescription.Generic typeDescription)
Defines a setter of a value that is represented by a stack manipulation.
|
Constructor and Description |
---|
CacheValueField(TypeDescription instrumentedType,
TypeDescription.Generic fieldType,
String suffix,
int hashCode)
Creates a new cache value field.
|
Factory(Object target,
TypeDescription.Generic fieldType)
Creates a new target handler for a static field.
|
OfConstantValue(FieldAccessor.FieldLocation fieldLocation,
Assigner assigner,
Assigner.Typing typing,
FieldAccessor.ForSetter.TerminationHandler terminationHandler,
TypeDescription.Generic typeDescription,
StackManipulation stackManipulation)
Creates a setter instrumentation for setting a constant value.
|
WithInstance(String fieldName,
MethodGraph.Compiler methodGraphCompiler,
List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
ElementMatcher<? super MethodDescription> matcher,
Object target,
TypeDescription.Generic fieldType)
Creates a new implementation delegate for invoking methods on a supplied instance.
|
Modifier and Type | Method and Description |
---|---|
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
AnnotationAppender |
AnnotationAppender.ForTypeAnnotations.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#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)
Resolves the target type.
|
TypeDescription |
Default.Binder.TypeLocator.ForType.resolve(TypeDescription.Generic parameterType)
Resolves the target type.
|
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)
Resolves the target type.
|
TypeDescription |
Super.Binder.TypeLocator.ForParameterType.resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType)
Resolves the target type.
|
TypeDescription |
Super.Binder.TypeLocator.ForType.resolve(TypeDescription instrumentedType,
TypeDescription.Generic parameterType)
Resolves the target type.
|
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)
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.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)
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.
|
Constructor and Description |
---|
ImplicitlyTypedUnboxingResponsible(TypeDescription.Generic originalType)
Creates a new implicitly typed unboxing responsible.
|
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType.typeDescription
The type being assigned to another type.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
ReferenceTypeAwareAssigner.assign(TypeDescription.Generic source,
TypeDescription.Generic target,
Assigner.Typing typing) |
StackManipulation |
GenericTypeAwareAssigner.assign(TypeDescription.Generic source,
TypeDescription.Generic target,
Assigner.Typing typing) |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfGenericArray.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfParameterizedType.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfNonGenericType.onGenericArray(TypeDescription.Generic genericArray)
Visits a generic array type (
Sort#GENERIC_ARRAY ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfSimpleType.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfGenericArray.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onNonGenericType(TypeDescription.Generic typeDescription)
Visits a non-generic type (
Sort#NON_GENERIC ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfSimpleType.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfGenericArray.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onParameterizedType(TypeDescription.Generic parameterizedType)
Visits a parameterized type (
Sort#PARAMETERIZED ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onTypeVariable(TypeDescription.Generic typeVariable)
Visits a type variable (
Sort#VARIABLE , Sort#VARIABLE_SYMBOLIC ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfManifestType.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Boolean |
GenericTypeAwareAssigner.IsAssignableToVisitor.OfWildcard.onWildcard(TypeDescription.Generic wildcard)
Visits a wildcard (
Sort#WILDCARD ). |
Constructor and Description |
---|
IsAssignableToVisitor(TypeDescription.Generic typeDescription)
Creates a new visitor to determine assignability of the supplied type.
|
IsAssignableToVisitor(TypeDescription.Generic typeDescription,
boolean polymorphic)
Creates a new visitor to determine assignability of the supplied type.
|
OfGenericArray(TypeDescription.Generic typeDescription,
boolean polymorphic)
Creates a new visitor.
|
OfManifestType(TypeDescription.Generic typeDescription,
boolean polymorphic)
Creates a new visitor for a manifest type.
|
OfNonGenericType(TypeDescription.Generic typeDescription,
boolean polymorphic)
Creates a new visitor.
|
OfParameterizedType(TypeDescription.Generic typeDescription,
boolean polymorphic)
Creates a new visitor.
|
OfSimpleType(TypeDescription.Generic typeDescription,
boolean polymorphic)
Creates a new visitor.
|
OfWildcard(TypeDescription.Generic wildcard)
Creates a visitor for a wildcard type assignment.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
CollectionFactory.getComponentType()
The component type of this factory.
|
TypeDescription.Generic |
ArrayFactory.getComponentType()
The component type of this factory.
|
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.erasure(Class<?> type)
Matches a generic type's erasure against the provided type.
|
static <T extends TypeDescription.Generic> |
ElementMatchers.erasure(ElementMatcher<? super TypeDescription> matcher)
Converts a matcher for a type description into a matcher for the matched type's erasure.
|
static <T extends TypeDescription.Generic> |
ElementMatchers.erasure(TypeDescription type)
Matches a generic type's erasure against the provided type.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.erasures(Class<?>... type)
Matches an iteration of generic types' erasures against the provided types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.erasures(ElementMatcher<? super Iterable<? extends TypeDescription>> matcher)
Applies the provided matchers to an iteration og generic types' erasures.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.erasures(Iterable<? extends TypeDescription> types)
Matches an iteration of generic types' erasures against the provided types.
|
static <T extends Iterable<? extends TypeDescription.Generic>> |
ElementMatchers.erasures(TypeDescription... type)
Matches an iteration of generic types' erasures against the provided 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.hasGenericSuperClass(ElementMatcher<? super TypeDescription.Generic> matcher)
Matches any type description that declares a super class (but not interface) that matches 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.Generic . |
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.
|
HasSuperClassMatcher(ElementMatcher<? super TypeDescription.Generic> matcher)
Creates a new matcher for a super class.
|
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.TokenizedGenericType.TokenList.get(int index) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.TypeVariableList.get(int index) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed.TokenList.get(int index) |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForGenericArray.LazyGenericArray.getComponentType()
Returns the component type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType.getOwnerType()
Returns the owner type of this type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.getSuperClass()
Returns the super class of this type.
|
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.
|
protected static TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.of(TypePool typePool,
TypePool.Default.LazyTypeDescription.GenericTypeToken genericTypeToken,
String rawTypeDescriptor,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeVariableSource typeVariableSource)
Creates a new generic type description for a tokenized generic type.
|
protected TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.resolve() |
protected TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed.resolve() |
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.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.Malformed.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.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)
Resolves the field type of the represented field.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription definingRecordComponent)
Resolves a record component's type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription definingRecordComponent)
Resolves a record component's type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription definingRecordComponent)
Resolves a record component's type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForRecordComponent.Tokenized.resolveRecordType(String recordTypeDescriptor,
TypePool typePool,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
RecordComponentDescription definingRecordComponent)
Resolves a record component's type.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.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.Malformed.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.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)
Resolves the return type of the represented method.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.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.Malformed.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.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)
Resolves the generic super type of the represented type.
|
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)
Transforms this token into a generic type representation.
|
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)
Transforms this token into a generic type representation.
|
TypeDescription.Generic |
TypePool.Default.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.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.ForRawType.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.ForTypeVariable.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.ForGenericArray.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.ForLowerBoundWildcard.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.ForUpperBoundWildcard.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.ForParameterizedType.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.ForParameterizedType.Nested.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens)
Transforms this token into a generic type representation.
|
Constructor and Description |
---|
AnnotatedTypeVariable(TypePool typePool,
List<TypePool.Default.LazyTypeDescription.AnnotationToken> annotationTokens,
TypeDescription.Generic typeVariable)
Creates a new annotated type variable.
|
Copyright © 2014–2020. All rights reserved.