| Package | Description |
|---|---|
| net.bytebuddy |
Byte Buddy is a library for creating Java classes at runtime of a Java program.
|
| net.bytebuddy.description |
Classes of this package allow the representation of Java classes, their member and their meta data.
|
| net.bytebuddy.description.field |
Contains descriptions of Java fields.
|
| net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
| net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
| net.bytebuddy.description.type.generic |
Contains descriptions for generic types as defined in the Java programming language.
|
| 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.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of 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.matcher |
Contains an API for matching Java byte code entities.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
NamingStrategy.UnnamedType.getSuperClass()
Returns this unnamed type's super class.
|
GenericTypeDescription |
NamingStrategy.UnnamedType.Default.getSuperClass() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GenericTypeDescription> |
NamingStrategy.UnnamedType.getDeclaredInterfaces()
Returns a collection of descriptions of this unnamed type's directly implemented interfaces.
|
List<GenericTypeDescription> |
NamingStrategy.UnnamedType.Default.getDeclaredInterfaces() |
| Constructor and Description |
|---|
Default(GenericTypeDescription superClass,
List<? extends GenericTypeDescription> interfaces,
int modifiers,
ClassFileVersion classFileVersion)
Creates a new unnamed type.
|
| Constructor and Description |
|---|
Default(GenericTypeDescription superClass,
List<? extends GenericTypeDescription> interfaces,
int modifiers,
ClassFileVersion classFileVersion)
Creates a new unnamed type.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
DeclaredByType.getDeclaringType()
Returns the declaring type of this instance.
|
| Modifier and Type | Method and Description |
|---|---|
T |
ByteCodeElement.Token.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Transforms the types represented by this token by applying the given visitor to them.
|
ByteCodeElement.Token.TokenList<S> |
ByteCodeElement.Token.TokenList.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Transforms all tokens that are represented by this list.
|
S |
ByteCodeElement.TypeDependant.asToken(ElementMatcher<? super GenericTypeDescription> targetTypeMatcher)
Returns a token representative of this type dependant.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
FieldDescription.TypeSubstituting.getDeclaringType() |
GenericTypeDescription |
FieldDescription.getType()
Returns the type of the described field.
|
GenericTypeDescription |
FieldDescription.ForLoadedField.getType() |
GenericTypeDescription |
FieldDescription.Latent.getType() |
GenericTypeDescription |
FieldDescription.TypeSubstituting.getType() |
GenericTypeDescription |
FieldDescription.Token.getType()
Returns the type of the represented field.
|
| Modifier and Type | Method and Description |
|---|---|
FieldDescription.Token |
FieldDescription.Token.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
FieldDescription.Token |
FieldDescription.AbstractBase.asToken(ElementMatcher<? super GenericTypeDescription> targetTypeMatcher) |
ByteCodeElement.Token.TokenList<FieldDescription.Token> |
FieldList.asTokenList(ElementMatcher<? super GenericTypeDescription> targetTypeMatcher)
Transforms the list of field descriptions into a list of detached tokens.
|
ByteCodeElement.Token.TokenList<FieldDescription.Token> |
FieldList.AbstractBase.asTokenList(ElementMatcher<? super GenericTypeDescription> targetTypeMatcher) |
ByteCodeElement.Token.TokenList<FieldDescription.Token> |
FieldList.Empty.asTokenList(ElementMatcher<? super GenericTypeDescription> targetTypeMatcher) |
| Constructor and Description |
|---|
Latent(TypeDescription declaringType,
String fieldName,
int modifiers,
GenericTypeDescription fieldType,
List<? extends AnnotationDescription> declaredAnnotations)
Creates a new latent field description.
|
Token(String name,
int modifiers,
GenericTypeDescription type)
Creates a new field token without annotations.
|
Token(String name,
int modifiers,
GenericTypeDescription type,
List<? extends AnnotationDescription> annotations)
Creates a new field token.
|
TypeSubstituting(GenericTypeDescription declaringType,
FieldDescription fieldDescription,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a field description with a substituted field type.
|
TypeSubstituting(GenericTypeDescription declaringType,
List<? extends FieldDescription> fieldDescriptions,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting field list.
|
| Constructor and Description |
|---|
TypeSubstituting(GenericTypeDescription declaringType,
FieldDescription fieldDescription,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a field description with a substituted field type.
|
TypeSubstituting(GenericTypeDescription declaringType,
List<? extends FieldDescription> fieldDescriptions,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting field list.
|
| Modifier and Type | Class and Description |
|---|---|
protected class |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.RetainedVariable
A retained type variable that is declared by the method.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
MethodDescription.AbstractBase.findVariable(String symbol) |
GenericTypeDescription |
MethodDescription.TypeSubstituting.getDeclaringType() |
GenericTypeDescription |
MethodDescription.getReturnType()
Returns the return type of the described method.
|
GenericTypeDescription |
MethodDescription.ForLoadedConstructor.getReturnType() |
GenericTypeDescription |
MethodDescription.ForLoadedMethod.getReturnType() |
GenericTypeDescription |
MethodDescription.Latent.getReturnType() |
GenericTypeDescription |
MethodDescription.Latent.TypeInitializer.getReturnType() |
GenericTypeDescription |
MethodDescription.TypeSubstituting.getReturnType() |
GenericTypeDescription |
MethodDescription.Token.getReturnType()
Returns the return type of the represented method.
|
GenericTypeDescription |
ParameterDescription.getType()
Returns the type of this parameter.
|
GenericTypeDescription |
ParameterDescription.ForLoadedParameter.getType() |
GenericTypeDescription |
ParameterDescription.ForLoadedParameter.OfLegacyVmMethod.getType() |
GenericTypeDescription |
ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor.getType() |
GenericTypeDescription |
ParameterDescription.Latent.getType() |
GenericTypeDescription |
ParameterDescription.TypeSubstituting.getType() |
GenericTypeDescription |
ParameterDescription.Token.getType()
Returns the type of the represented method parameter.
|
GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onParameterizedType(GenericTypeDescription parameterizedType) |
protected GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onSimpleType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onTypeVariable(GenericTypeDescription typeVariable) |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onParameterizedType(GenericTypeDescription parameterizedType) |
protected GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onSimpleType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
MethodDescription.TypeSubstituting.VariableRetainingDelegator.onTypeVariable(GenericTypeDescription typeVariable) |
| Constructor and Description |
|---|
Latent(MethodDescription.InDefinedShape declaringMethod,
GenericTypeDescription parameterType,
int index,
int offset)
Creates a new latent parameter descriptions for a parameter without explicit meta data or annotations.
|
Latent(MethodDescription.InDefinedShape declaringMethod,
GenericTypeDescription 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 GenericTypeDescription> typeVariables,
GenericTypeDescription returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends GenericTypeDescription> exceptionTypes,
List<? extends AnnotationDescription> declaredAnnotations,
Object defaultValue)
Creates a new latent method description.
|
RetainedVariable(GenericTypeDescription typeVariable)
Creates a new retained type variable.
|
Token(GenericTypeDescription typeDescription)
Creates a new parameter token without an explicit name, an explicit modifier or annotations.
|
Token(GenericTypeDescription typeDescription,
List<? extends AnnotationDescription> annotationDescriptions)
Creates a new parameter token without an explicit name or an explicit modifier.
|
Token(GenericTypeDescription typeDescription,
List<? extends AnnotationDescription> annotationDescriptions,
String name,
Integer modifiers)
Creates a new parameter token.
|
Token(String internalName,
int modifiers,
GenericTypeDescription returnType,
List<? extends GenericTypeDescription> parameterTypes)
Creates a new method token with simple values.
|
Token(String internalName,
int modifiers,
List<GenericTypeDescription> typeVariables,
GenericTypeDescription returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends GenericTypeDescription> exceptionTypes,
List<? extends AnnotationDescription> annotations,
Object defaultValue)
Creates a new token for a method description.
|
TypeSubstituting(GenericTypeDescription declaringType,
List<? extends MethodDescription> methodDescriptions,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting method list.
|
TypeSubstituting(GenericTypeDescription declaringType,
MethodDescription methodDescription,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a method description with substituted method types.
|
| Constructor and Description |
|---|
ForTypes(MethodDescription.InDefinedShape methodDescription,
List<? extends GenericTypeDescription> typeDescriptions)
Creates a new parameter type list.
|
Latent(TypeDescription declaringType,
String internalName,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends GenericTypeDescription> exceptionTypes,
List<? extends AnnotationDescription> declaredAnnotations,
Object defaultValue)
Creates a new latent method description.
|
Latent(TypeDescription declaringType,
String internalName,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends GenericTypeDescription> exceptionTypes,
List<? extends AnnotationDescription> declaredAnnotations,
Object defaultValue)
Creates a new latent method description.
|
Token(String internalName,
int modifiers,
GenericTypeDescription returnType,
List<? extends GenericTypeDescription> parameterTypes)
Creates a new method token with simple values.
|
Token(String internalName,
int modifiers,
List<GenericTypeDescription> typeVariables,
GenericTypeDescription returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends GenericTypeDescription> exceptionTypes,
List<? extends AnnotationDescription> annotations,
Object defaultValue)
Creates a new token for a method description.
|
Token(String internalName,
int modifiers,
List<GenericTypeDescription> typeVariables,
GenericTypeDescription returnType,
List<? extends ParameterDescription.Token> parameterTokens,
List<? extends GenericTypeDescription> exceptionTypes,
List<? extends AnnotationDescription> annotations,
Object defaultValue)
Creates a new token for a method description.
|
TypeList(List<? extends GenericTypeDescription> typeDescriptions)
Creates a new list of types that represent parameters.
|
TypeSubstituting(GenericTypeDescription declaringType,
List<? extends MethodDescription> methodDescriptions,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting method list.
|
TypeSubstituting(GenericTypeDescription declaringType,
MethodDescription methodDescription,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a method description with substituted method types.
|
TypeSubstituting(MethodDescription declaringMethod,
List<? extends ParameterDescription> parameterDescriptions,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting parameter list.
|
TypeSubstituting(MethodDescription declaringMethod,
ParameterDescription parameterDescription,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new type substituting parameter.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
TypeDescription
Implementations of this interface represent a Java type, i.e.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeDescription.AbstractBase
An abstract base implementation of a type description.
|
static class |
TypeDescription.AbstractBase.OfSimpleType
An adapter implementation of a
TypeDescription that
describes any type that is not an array or a primitive type. |
protected static class |
TypeDescription.AbstractBase.RawTypeWrapper.RawTypeVariable
An representation of a type variable with raw type bounds.
|
static class |
TypeDescription.ArrayProjection
A projection for an array type based on an existing
TypeDescription. |
static class |
TypeDescription.ForLoadedType
A type description implementation that represents a loaded type.
|
static class |
TypeDescription.ForPackageDescription
A type representation of a package description.
|
static class |
TypeDescription.Latent
A latent type description for a type without methods or fields.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
TypeDescription.AbstractBase.findVariable(String symbol) |
protected abstract GenericTypeDescription |
TypeDescription.AbstractBase.getDeclaredSuperType()
Returns the declared super type in the form it is declared in the class file.
|
GenericTypeDescription |
TypeDescription.ForLoadedType.getDeclaredSuperType() |
protected GenericTypeDescription |
TypeDescription.ArrayProjection.getDeclaredSuperType() |
protected GenericTypeDescription |
TypeDescription.Latent.getDeclaredSuperType() |
protected GenericTypeDescription |
TypeDescription.ForPackageDescription.getDeclaredSuperType() |
GenericTypeDescription |
TypeDescription.AbstractBase.getSuperType() |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onGenericArray(GenericTypeDescription genericArray) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onParameterizedType(GenericTypeDescription parameterizedType) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onTypeVariable(GenericTypeDescription typeVariable) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onWildcard(GenericTypeDescription wildcard) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<GenericTypeDescription> |
TypeDescription.AbstractBase.iterator() |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onGenericArray(GenericTypeDescription genericArray) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onParameterizedType(GenericTypeDescription parameterizedType) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onTypeVariable(GenericTypeDescription typeVariable) |
GenericTypeDescription |
TypeDescription.AbstractBase.RawTypeWrapper.onWildcard(GenericTypeDescription wildcard) |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
TypeList.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Transforms the types of this list by applying the supplied visitor.
|
GenericTypeList |
TypeList.AbstractBase.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
GenericTypeList |
TypeList.Empty.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
| Constructor and Description |
|---|
Latent(String name,
int modifiers,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaces)
Creates a new latent type.
|
RawTypeVariable(GenericTypeDescription typeVariable)
Creates a new raw type representation of a type variable.
|
| Constructor and Description |
|---|
Latent(String name,
int modifiers,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaces)
Creates a new latent type.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericTypeDescription.ForGenericArray
A base implementation of a generic type description that represents a potentially generic array.
|
static class |
GenericTypeDescription.ForGenericArray.Latent
A latent implementation of a generic array type.
|
static class |
GenericTypeDescription.ForGenericArray.OfLoadedType
A description of a loaded generic array type.
|
static class |
GenericTypeDescription.ForNonGenericType
A raw type representation of a non-generic type.
|
static class |
GenericTypeDescription.ForNonGenericType.Latent
Represents a non-generic type for a loaded
TypeDescription. |
static class |
GenericTypeDescription.ForNonGenericType.OfLoadedType
Represents a non-generic type for a loaded
Class. |
static class |
GenericTypeDescription.ForParameterizedType
A base implementation of a generic type description that represents a parameterized type.
|
static class |
GenericTypeDescription.ForParameterizedType.Latent
A latent description of a parameterized type.
|
static class |
GenericTypeDescription.ForParameterizedType.OfLoadedType
Description of a loaded parameterized type.
|
static class |
GenericTypeDescription.ForTypeVariable
A base implementation of a generic type description that represents a type variable.
|
static class |
GenericTypeDescription.ForTypeVariable.InDetachedForm
An abstract implementation of a description of a type variable in detached form.
|
static class |
GenericTypeDescription.ForTypeVariable.OfLoadedType
Description of a loaded type variable.
|
static class |
GenericTypeDescription.ForWildcardType
A base implementation of a generic type description that represents a wildcard type.
|
static class |
GenericTypeDescription.ForWildcardType.Latent
A latent description of a wildcard type.
|
static class |
GenericTypeDescription.ForWildcardType.OfLoadedType
Description of a loaded wildcard.
|
static class |
GenericTypeDescription.LazyProjection
A lazy projection of a generic type.
|
static class |
GenericTypeDescription.LazyProjection.OfLoadedFieldType
A lazy projection of a field's type.
|
static class |
GenericTypeDescription.LazyProjection.OfLoadedParameter
A lazy projection of a loaded parameter.
|
static class |
GenericTypeDescription.LazyProjection.OfLoadedParameter.OfLegacyVmConstructor
Represents a constructor's parameter on a JVM that does not know the
java.lang.reflect.Parameter type. |
static class |
GenericTypeDescription.LazyProjection.OfLoadedParameter.OfLegacyVmMethod
Represents a method's parameter on a JVM that does not know the
java.lang.reflect.Parameter type. |
static class |
GenericTypeDescription.LazyProjection.OfLoadedReturnType
A lazy projection of a method's generic return type.
|
static class |
GenericTypeDescription.LazyProjection.OfLoadedSuperType
A lazy projection of a generic super type.
|
protected static class |
GenericTypeDescription.Visitor.Substitutor.ForDetachment.DetachedTypeVariable
A description of a detached type variable.
|
protected static class |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable
A lazy type variable.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericTypeDescription |
GenericTypeDescription.ForWildcardType.Latent.boundedAbove(GenericTypeDescription upperBound)
Creates a wildcard with an upper bound.
|
static GenericTypeDescription |
GenericTypeDescription.ForWildcardType.Latent.boundedBelow(GenericTypeDescription lowerBound)
Creates a wildcard with a lower bound.
|
static GenericTypeDescription |
GenericTypeDescription.Sort.describe(Type type)
Describes a loaded generic type as a
GenericTypeDescription. |
GenericTypeDescription |
TypeVariableSource.findVariable(String symbol)
Finds a particular variable with the given name in the closes type variable source that is visible from this instance.
|
GenericTypeDescription |
GenericTypeList.Explicit.get(int index) |
GenericTypeDescription |
GenericTypeList.ForLoadedType.get(int index) |
GenericTypeDescription |
GenericTypeList.ForDetachedTypes.get(int index) |
GenericTypeDescription |
GenericTypeList.ForDetachedTypes.OfTypeVariable.get(int index) |
GenericTypeDescription |
GenericTypeList.OfLoadedInterfaceTypes.get(int index) |
GenericTypeDescription |
GenericTypeList.OfConstructorExceptionTypes.get(int index) |
GenericTypeDescription |
GenericTypeList.OfMethodExceptionTypes.get(int index) |
GenericTypeDescription |
GenericTypeDescription.getComponentType()
Returns the component type of this type.
|
GenericTypeDescription |
GenericTypeDescription.ForNonGenericType.getComponentType() |
GenericTypeDescription |
GenericTypeDescription.ForGenericArray.OfLoadedType.getComponentType() |
GenericTypeDescription |
GenericTypeDescription.ForGenericArray.Latent.getComponentType() |
GenericTypeDescription |
GenericTypeDescription.ForWildcardType.getComponentType() |
GenericTypeDescription |
GenericTypeDescription.ForParameterizedType.getComponentType() |
GenericTypeDescription |
GenericTypeDescription.ForTypeVariable.getComponentType() |
GenericTypeDescription |
GenericTypeDescription.LazyProjection.getComponentType() |
GenericTypeDescription |
GenericTypeDescription.getOwnerType()
Returns the owner type of this type.
|
GenericTypeDescription |
GenericTypeDescription.ForNonGenericType.getOwnerType() |
GenericTypeDescription |
GenericTypeDescription.ForGenericArray.getOwnerType() |
GenericTypeDescription |
GenericTypeDescription.ForWildcardType.getOwnerType() |
GenericTypeDescription |
GenericTypeDescription.ForParameterizedType.OfLoadedType.getOwnerType() |
GenericTypeDescription |
GenericTypeDescription.ForParameterizedType.Latent.getOwnerType() |
GenericTypeDescription |
GenericTypeDescription.ForTypeVariable.getOwnerType() |
GenericTypeDescription |
GenericTypeDescription.LazyProjection.getOwnerType() |
GenericTypeDescription |
GenericTypeDescription.getSuperType()
Returns the generic super type of this type.
|
GenericTypeDescription |
GenericTypeDescription.ForNonGenericType.getSuperType() |
GenericTypeDescription |
GenericTypeDescription.ForGenericArray.getSuperType() |
GenericTypeDescription |
GenericTypeDescription.ForWildcardType.getSuperType() |
GenericTypeDescription |
GenericTypeDescription.ForParameterizedType.getSuperType() |
GenericTypeDescription |
GenericTypeDescription.ForTypeVariable.getSuperType() |
GenericTypeDescription |
GenericTypeDescription.LazyProjection.getSuperType() |
GenericTypeDescription |
GenericTypeDescription.SuperTypeIterator.next() |
static GenericTypeDescription |
GenericTypeDescription.ForGenericArray.Latent.of(GenericTypeDescription componentType,
int arity)
Returns a description of the given component type.
|
static GenericTypeDescription |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable.of(GenericTypeDescription detachedVariable,
TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a lazy type variable representation.
|
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onGenericArray(GenericTypeDescription genericArray) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onGenericArray(GenericTypeDescription genericArray) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onGenericArray(GenericTypeDescription genericArray) |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onParameterizedType(GenericTypeDescription parameterizedType) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onParameterizedType(GenericTypeDescription parameterizedType) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onParameterizedType(GenericTypeDescription parameterizedType) |
protected abstract GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onSimpleType(GenericTypeDescription typeDescription)
Visits a simple, non-generic type, i.e.
|
protected GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForAttachment.onSimpleType(GenericTypeDescription typeDescription) |
protected GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForDetachment.onSimpleType(GenericTypeDescription typeDescription) |
protected GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.onSimpleType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onTypeVariable(GenericTypeDescription typeVariable) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onTypeVariable(GenericTypeDescription typeVariable) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForAttachment.onTypeVariable(GenericTypeDescription genericTypeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForDetachment.onTypeVariable(GenericTypeDescription genericTypeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable(GenericTypeDescription typeVariable) |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onWildcard(GenericTypeDescription wildcard) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onWildcard(GenericTypeDescription wildcard) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onWildcard(GenericTypeDescription wildcard) |
protected abstract GenericTypeDescription |
GenericTypeDescription.LazyProjection.resolve()
Resolves the actual generic type.
|
protected GenericTypeDescription |
GenericTypeDescription.LazyProjection.OfLoadedSuperType.resolve() |
protected GenericTypeDescription |
GenericTypeDescription.LazyProjection.OfLoadedFieldType.resolve() |
protected GenericTypeDescription |
GenericTypeDescription.LazyProjection.OfLoadedReturnType.resolve() |
protected GenericTypeDescription |
GenericTypeDescription.LazyProjection.OfLoadedParameter.resolve() |
protected GenericTypeDescription |
GenericTypeDescription.LazyProjection.OfLoadedParameter.OfLegacyVmConstructor.resolve() |
protected GenericTypeDescription |
GenericTypeDescription.LazyProjection.OfLoadedParameter.OfLegacyVmMethod.resolve() |
static GenericTypeDescription |
GenericTypeDescription.ForWildcardType.Latent.unbounded()
Creates an unbounded wildcard.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericTypeDescription.Visitor<GenericTypeDescription> |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.bind(GenericTypeDescription typeDescription)
Creates a visitor that binds the variables of the given generic type by the generic type's values.
|
Iterator<GenericTypeDescription> |
GenericTypeDescription.ForNonGenericType.iterator() |
Iterator<GenericTypeDescription> |
GenericTypeDescription.ForGenericArray.iterator() |
Iterator<GenericTypeDescription> |
GenericTypeDescription.ForWildcardType.iterator() |
Iterator<GenericTypeDescription> |
GenericTypeDescription.ForParameterizedType.iterator() |
Iterator<GenericTypeDescription> |
GenericTypeDescription.ForTypeVariable.iterator() |
Iterator<GenericTypeDescription> |
GenericTypeDescription.LazyProjection.iterator() |
| Modifier and Type | Method and Description |
|---|---|
static GenericTypeDescription.Visitor<GenericTypeDescription> |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.bind(GenericTypeDescription typeDescription)
Creates a visitor that binds the variables of the given generic type by the generic type's values.
|
static GenericTypeDescription |
GenericTypeDescription.ForWildcardType.Latent.boundedAbove(GenericTypeDescription upperBound)
Creates a wildcard with an upper bound.
|
static GenericTypeDescription |
GenericTypeDescription.ForWildcardType.Latent.boundedBelow(GenericTypeDescription lowerBound)
Creates a wildcard with a lower bound.
|
static GenericTypeDescription |
GenericTypeDescription.ForGenericArray.Latent.of(GenericTypeDescription componentType,
int arity)
Returns a description of the given component type.
|
static GenericTypeDescription |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable.of(GenericTypeDescription detachedVariable,
TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a lazy type variable representation.
|
T |
GenericTypeDescription.Visitor.onGenericArray(GenericTypeDescription genericArray)
Visits a generic array type (
GenericTypeDescription.Sort.GENERIC_ARRAY). |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onGenericArray(GenericTypeDescription genericArray) |
TypeDescription |
GenericTypeDescription.Visitor.TypeErasing.onGenericArray(GenericTypeDescription genericArray) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onGenericArray(GenericTypeDescription genericArray) |
Boolean |
GenericTypeDescription.Visitor.TypeVariableErasing.PartialErasureReviser.onGenericArray(GenericTypeDescription genericArray) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.onGenericArray(GenericTypeDescription genericArray) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.OfParameter.onGenericArray(GenericTypeDescription genericArray) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onGenericArray(GenericTypeDescription genericArray) |
T |
GenericTypeDescription.Visitor.onNonGenericType(GenericTypeDescription typeDescription)
Visits a non-generic type (
GenericTypeDescription.Sort.NON_GENERIC). |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onNonGenericType(GenericTypeDescription typeDescription) |
TypeDescription |
GenericTypeDescription.Visitor.TypeErasing.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onNonGenericType(GenericTypeDescription typeDescription) |
Boolean |
GenericTypeDescription.Visitor.TypeVariableErasing.PartialErasureReviser.onNonGenericType(GenericTypeDescription typeDescription) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.onNonGenericType(GenericTypeDescription typeDescription) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.OfParameter.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onNonGenericType(GenericTypeDescription typeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.onNonGenericType(GenericTypeDescription typeDescription) |
T |
GenericTypeDescription.Visitor.onParameterizedType(GenericTypeDescription parameterizedType)
Visits a parameterized type (
GenericTypeDescription.Sort.PARAMETERIZED). |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onParameterizedType(GenericTypeDescription parameterizedType) |
TypeDescription |
GenericTypeDescription.Visitor.TypeErasing.onParameterizedType(GenericTypeDescription parameterizedType) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onParameterizedType(GenericTypeDescription parameterizedType) |
Boolean |
GenericTypeDescription.Visitor.TypeVariableErasing.PartialErasureReviser.onParameterizedType(GenericTypeDescription parameterizedType) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.onParameterizedType(GenericTypeDescription parameterizedType) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.OfParameter.onParameterizedType(GenericTypeDescription parameterizedType) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onParameterizedType(GenericTypeDescription parameterizedType) |
protected abstract GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onSimpleType(GenericTypeDescription typeDescription)
Visits a simple, non-generic type, i.e.
|
protected GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForAttachment.onSimpleType(GenericTypeDescription typeDescription) |
protected GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForDetachment.onSimpleType(GenericTypeDescription typeDescription) |
protected GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.onSimpleType(GenericTypeDescription typeDescription) |
T |
GenericTypeDescription.Visitor.onTypeVariable(GenericTypeDescription typeVariable)
|
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onTypeVariable(GenericTypeDescription typeVariable) |
TypeDescription |
GenericTypeDescription.Visitor.TypeErasing.onTypeVariable(GenericTypeDescription typeVariable) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onTypeVariable(GenericTypeDescription typeVariable) |
Boolean |
GenericTypeDescription.Visitor.TypeVariableErasing.PartialErasureReviser.onTypeVariable(GenericTypeDescription typeVariable) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.onTypeVariable(GenericTypeDescription typeVariable) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.OfParameter.onTypeVariable(GenericTypeDescription typeVariable) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForAttachment.onTypeVariable(GenericTypeDescription genericTypeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForDetachment.onTypeVariable(GenericTypeDescription genericTypeDescription) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.ForTypeVariableBinding.onTypeVariable(GenericTypeDescription typeVariable) |
T |
GenericTypeDescription.Visitor.onWildcard(GenericTypeDescription wildcard)
Visits a wildcard (
GenericTypeDescription.Sort.WILDCARD). |
GenericTypeDescription |
GenericTypeDescription.Visitor.NoOp.onWildcard(GenericTypeDescription wildcard) |
TypeDescription |
GenericTypeDescription.Visitor.TypeErasing.onWildcard(GenericTypeDescription wildcard) |
GenericTypeDescription |
GenericTypeDescription.Visitor.TypeVariableErasing.onWildcard(GenericTypeDescription wildcard) |
Boolean |
GenericTypeDescription.Visitor.TypeVariableErasing.PartialErasureReviser.onWildcard(GenericTypeDescription wildcard) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.onWildcard(GenericTypeDescription wildcard) |
SignatureVisitor |
GenericTypeDescription.Visitor.ForSignatureVisitor.OfParameter.onWildcard(GenericTypeDescription wildcard) |
GenericTypeDescription |
GenericTypeDescription.Visitor.Substitutor.onWildcard(GenericTypeDescription wildcard) |
protected void |
GenericTypeDescription.Visitor.Substitutor.ForDetachment.register(String symbol,
GenericTypeDescription typeVariable)
Registers a generic type variable that was not yet visited.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
GenericTypeList.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Transforms the generic types by applying the supplied visitor to each of them.
|
GenericTypeList |
GenericTypeList.AbstractBase.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
GenericTypeList |
GenericTypeList.Empty.accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor) |
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(FieldDescription fieldDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided field.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(MethodDescription methodDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided method.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.OfTypeVariable.attach(MethodDescription methodDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of detached type variables that are attached on reception.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(ParameterDescription parameterDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided parameter.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.attach(TypeDescription typeDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of types that are attached to the provided type.
|
static GenericTypeList |
GenericTypeList.ForDetachedTypes.OfTypeVariable.attach(TypeDescription typeDescription,
List<? extends GenericTypeDescription> detachedTypes)
Creates a list of detached type variables that are attached on reception.
|
static GenericTypeDescription |
GenericTypeList.ForDetachedTypes.OfTypeVariable.LazyTypeVariable.of(GenericTypeDescription detachedVariable,
TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a lazy type variable representation.
|
protected GenericTypeList |
GenericTypeList.AbstractBase.wrap(List<GenericTypeDescription> values) |
| Constructor and Description |
|---|
Latent(GenericTypeDescription componentType,
int arity)
Creates a latent representation of a generic array type.
|
Latent(TypeDescription rawType,
List<? extends GenericTypeDescription> parameters,
GenericTypeDescription ownerType)
Creates a description of a latent parameterized type.
|
SuperTypeIterator(GenericTypeDescription initialType)
Creates a new iterator.
|
| Constructor and Description |
|---|
DetachedTypeVariable(String symbol,
List<GenericTypeDescription> bounds,
GenericTypeDescription.Visitor.Substitutor.ForDetachment visitor)
Creates a description of a detached type variable.
|
Explicit(List<? extends GenericTypeDescription> genericTypes)
Creates a new explicit list of generic types.
|
ForDetachedTypes(List<? extends GenericTypeDescription> detachedTypes,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a list of detached types that are attached on reception.
|
ForDetachedTypes(List<? extends GenericTypeDescription> detachedTypes,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a list of detached types that are attached on reception.
|
ForTypeVariableBinding(Map<GenericTypeDescription,GenericTypeDescription> bindings)
Creates a new visitor for a type variable bindings.
|
ForTypeVariableBinding(Map<GenericTypeDescription,GenericTypeDescription> bindings)
Creates a new visitor for a type variable bindings.
|
Latent(List<? extends GenericTypeDescription> upperBounds,
List<? extends GenericTypeDescription> lowerBounds)
Creates a description of a latent wildcard.
|
Latent(List<? extends GenericTypeDescription> upperBounds,
List<? extends GenericTypeDescription> lowerBounds)
Creates a description of a latent wildcard.
|
Latent(TypeDescription rawType,
List<? extends GenericTypeDescription> parameters,
GenericTypeDescription ownerType)
Creates a description of a latent parameterized type.
|
LazyTypeVariable(String symbol,
TypeVariableSource typeVariableSource,
List<? extends GenericTypeDescription> detachedBounds,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new lazy type variable.
|
LazyTypeVariable(String symbol,
TypeVariableSource typeVariableSource,
List<? extends GenericTypeDescription> detachedBounds,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Creates a new lazy type variable.
|
OfTypeVariable(TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor,
List<? extends GenericTypeDescription> detachedTypes)
Creates a new list of attached type variables.
|
OfTypeVariable(TypeVariableSource typeVariableSource,
GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor,
List<? extends GenericTypeDescription> detachedTypes)
Creates a new list of attached type variables.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<GenericTypeDescription> |
DynamicType.Builder.AbstractBase.interfaceTypes
The interface types to implement as specified for this builder.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
MethodTransformer.Simple.TransformedMethod.getDeclaringType() |
GenericTypeDescription |
MethodTransformer.Simple.TransformedMethod.getReturnType() |
GenericTypeDescription |
MethodTransformer.Simple.TransformedMethod.TransformedParameter.getType() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DynamicType.Builder<S> |
DynamicType.Builder.AbstractBase.materialize(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription targetType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens)
Creates a new immutable type builder which represents the given arguments.
|
| Constructor and Description |
|---|
TransformedMethod(GenericTypeDescription declaringType,
MethodDescription.Token methodToken,
MethodDescription.InDefinedShape definedShape)
Creates a new transformed method.
|
| Constructor and Description |
|---|
AbstractBase(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription targetType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens)
Creates a new immutable type builder base implementation.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
InstrumentedType
Implementations of this interface represent an instrumented type that is subject to change.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
InstrumentedType.Default
A default implementation of an instrumented type.
|
| Modifier and Type | Method and Description |
|---|---|
protected GenericTypeDescription |
InstrumentedType.Default.getDeclaredSuperType() |
GenericTypeDescription |
TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getReturnType() |
GenericTypeDescription |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getReturnType() |
GenericTypeDescription |
TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getReturnType() |
GenericTypeDescription |
TypeWriter.Default.ForInlining.TypeInitializerDelegate.getReturnType() |
| Modifier and Type | Method and Description |
|---|---|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.analyze(GenericTypeDescription typeDescription,
Map<GenericTypeDescription,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description without checking if the end of the type hierarchy was reached.
|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.analyzeNullable(GenericTypeDescription typeDescription,
Map<GenericTypeDescription,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description.
|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.doAnalyze(GenericTypeDescription typeDescription,
Map<GenericTypeDescription,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description without checking if it is already presented in the key store.
|
| Modifier and Type | Method and Description |
|---|---|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.analyze(GenericTypeDescription typeDescription,
Map<GenericTypeDescription,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description without checking if the end of the type hierarchy was reached.
|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.analyzeNullable(GenericTypeDescription typeDescription,
Map<GenericTypeDescription,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description.
|
protected MethodGraph.Compiler.Default.Key.Store<T> |
MethodGraph.Compiler.Default.doAnalyze(GenericTypeDescription typeDescription,
Map<GenericTypeDescription,MethodGraph.Compiler.Default.Key.Store<T>> snapshots,
ElementMatcher<? super MethodDescription> relevanceMatcher)
Analyzes the given type description without checking if it is already presented in the key store.
|
| Constructor and Description |
|---|
Default(String name,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
InstrumentedType.TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer)
Creates a new instrumented type with default values for any properties that only exist for types that are declared within another type.
|
Default(String name,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
InstrumentedType.TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
boolean memberClass,
boolean anonymousClass,
boolean localClass)
Creates a new instrumented type.
|
| Constructor and Description |
|---|
Default(String name,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
InstrumentedType.TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer)
Creates a new instrumented type with default values for any properties that only exist for types that are declared within another type.
|
Default(String name,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
InstrumentedType.TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer)
Creates a new instrumented type with default values for any properties that only exist for types that are declared within another type.
|
Default(String name,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
InstrumentedType.TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
boolean memberClass,
boolean anonymousClass,
boolean localClass)
Creates a new instrumented type.
|
Default(String name,
int modifiers,
List<? extends GenericTypeDescription> typeVariables,
GenericTypeDescription superType,
List<? extends GenericTypeDescription> interfaceTypes,
List<? extends FieldDescription.Token> fieldTokens,
List<? extends MethodDescription.Token> methodTokens,
List<? extends AnnotationDescription> annotationDescriptions,
InstrumentedType.TypeInitializer typeInitializer,
LoadedTypeInitializer loadedTypeInitializer,
TypeDescription declaringType,
MethodDescription enclosingMethod,
TypeDescription enclosingType,
List<? extends TypeDescription> declaredTypes,
boolean memberClass,
boolean anonymousClass,
boolean localClass)
Creates a new instrumented type.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getReturnType() |
GenericTypeDescription |
MethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getReturnType() |
| Modifier and Type | Method and Description |
|---|---|
protected DynamicType.Builder<T> |
RedefinitionDynamicTypeBuilder.materialize(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription levelType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens) |
protected DynamicType.Builder<T> |
RebaseDynamicTypeBuilder.materialize(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription levelType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens) |
| Constructor and Description |
|---|
RebaseDynamicTypeBuilder(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription levelType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens,
ClassFileLocator classFileLocator,
MethodRebaseResolver.MethodNameTransformer methodNameTransformer)
Creates a new rebase dynamic type builder.
|
RedefinitionDynamicTypeBuilder(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription levelType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens,
ClassFileLocator classFileLocator)
Creates a new redefinition dynamic type builder.
|
| Modifier and Type | Method and Description |
|---|---|
protected DynamicType.Builder<T> |
SubclassDynamicTypeBuilder.materialize(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription targetType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens) |
| Constructor and Description |
|---|
SubclassDynamicTypeBuilder(ClassFileVersion classFileVersion,
NamingStrategy namingStrategy,
AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy,
Implementation.Context.Factory implementationContextFactory,
InstrumentedType.TypeInitializer typeInitializer,
TypeDescription superType,
List<GenericTypeDescription> interfaceTypes,
int modifiers,
TypeAttributeAppender attributeAppender,
ElementMatcher<? super MethodDescription> ignoredMethods,
ClassVisitorWrapper classVisitorWrapper,
FieldRegistry fieldRegistry,
MethodRegistry methodRegistry,
MethodGraph.Compiler methodGraphCompiler,
FieldAttributeAppender.Factory defaultFieldAttributeAppenderFactory,
MethodAttributeAppender.Factory defaultMethodAttributeAppenderFactory,
List<FieldDescription.Token> fieldTokens,
List<MethodDescription.Token> methodTokens,
ConstructorStrategy constructorStrategy)
Creates a new immutable type builder for a subclassing a given class.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription |
Implementation.Context.Default.AccessorMethod.getReturnType() |
GenericTypeDescription |
Implementation.Context.Default.FieldGetter.getReturnType() |
GenericTypeDescription |
Implementation.Context.Default.FieldSetter.getReturnType() |
GenericTypeDescription |
Implementation.Context.Default.CacheValueField.getType() |
| Modifier and Type | Method and Description |
|---|---|
void |
TypeAttributeAppender.apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType)
Applies this type attribute appender.
|
void |
TypeAttributeAppender.NoOp.apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType) |
void |
TypeAttributeAppender.ForInstrumentedType.apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType) |
void |
TypeAttributeAppender.ForType.apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType) |
void |
TypeAttributeAppender.ForAnnotation.apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType) |
void |
TypeAttributeAppender.Compound.apply(ClassVisitor classVisitor,
TypeDescription instrumentedType,
GenericTypeDescription targetType) |
| Modifier and Type | Method and Description |
|---|---|
TypeDescription |
Default.Binder.TypeLocator.resolve(GenericTypeDescription parameterType)
Resolves the target type.
|
TypeDescription |
Default.Binder.TypeLocator.ForParameterType.resolve(GenericTypeDescription parameterType) |
TypeDescription |
Default.Binder.TypeLocator.ForType.resolve(GenericTypeDescription parameterType) |
TypeDescription |
Super.Binder.TypeLocator.resolve(TypeDescription instrumentedType,
GenericTypeDescription parameterType)
Resolves the target type.
|
TypeDescription |
Super.Binder.TypeLocator.ForInstrumentedType.resolve(TypeDescription instrumentedType,
GenericTypeDescription parameterType) |
TypeDescription |
Super.Binder.TypeLocator.ForParameterType.resolve(TypeDescription instrumentedType,
GenericTypeDescription parameterType) |
TypeDescription |
Super.Binder.TypeLocator.ForType.resolve(TypeDescription instrumentedType,
GenericTypeDescription parameterType) |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionRawTypeMatcher<T extends Iterable<? extends GenericTypeDescription>>
An element matcher that matches a collection of types by their raw types.
|
class |
DeclaringFieldMatcher<T extends GenericTypeDescription>
An element matcher that checks if a type description declares fields of a given property.
|
class |
DeclaringMethodMatcher<T extends GenericTypeDescription>
An element matcher that checks if a type description declares methods of a given property.
|
class |
RawTypeMatcher<T extends GenericTypeDescription>
An element matcher that matches its argument's
GenericTypeDescription raw type against the
given matcher for a TypeDescription. |
class |
TypeSortMatcher<T extends GenericTypeDescription>
An element matcher that validates that a given generic type description represents a type of a given name.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends GenericTypeDescription> |
ElementMatchers.anyOf(Type... value)
Creates a matcher that matches any of the given types as
TypeDescriptions
by the Object.equals(Object) method. |
static <T extends GenericTypeDescription> |
ElementMatchers.declaresField(ElementMatcher<? super FieldDescription> fieldMatcher)
Matches a type by a another matcher that is applied on any of its declared fields.
|
static <T extends GenericTypeDescription> |
ElementMatchers.declaresMethod(ElementMatcher<? super MethodDescription> methodMatcher)
Matches a type by a another matcher that is applied on any of its declared methods.
|
static <T extends GenericTypeDescription> |
ElementMatchers.is(Type type)
Exactly matches a given type as a
TypeDescription. |
static <T extends GenericTypeDescription> |
ElementMatchers.isVariable(ElementMatcher<? super NamedElement> matcher)
Matches a type variable with the given name.
|
static <T extends GenericTypeDescription> |
ElementMatchers.isVariable(String symbol)
Matches a type variable with the given name.
|
static <T extends GenericTypeDescription> |
ElementMatchers.noneOf(Type... value)
Creates a matcher that matches none of the given types as
TypeDescriptions
by the Object.equals(Object) method. |
static <T extends GenericTypeDescription> |
ElementMatchers.ofSort(ElementMatcher<? super GenericTypeDescription.Sort> matcher)
Matches generic type descriptions of the given sort.
|
static <T extends GenericTypeDescription> |
ElementMatchers.ofSort(GenericTypeDescription.Sort sort)
Matches generic type descriptions of the given sort.
|
static <T extends GenericTypeDescription> |
ElementMatchers.rawType(Class<?> type)
Matches a generic type's raw type against the provided raw type.
|
static <T extends GenericTypeDescription> |
ElementMatchers.rawType(ElementMatcher<? super TypeDescription> matcher)
Converts a matcher for a type description into a matcher for a raw type of the matched generic type against the given matcher.
|
static <T extends GenericTypeDescription> |
ElementMatchers.rawType(TypeDescription typeDescription)
Matches a generic type's raw type against the provided raw type.
|
static <T extends Iterable<? extends GenericTypeDescription>> |
ElementMatchers.rawTypes(Class<?>... type)
Matches an iteration of generic types' erasures against the provided raw types.
|
static <T extends Iterable<? extends GenericTypeDescription>> |
ElementMatchers.rawTypes(ElementMatcher<? super Iterable<? extends TypeDescription>> matcher)
Applies the provided matcher to an iteration og generic types' generic types.
|
static <T extends Iterable<? extends GenericTypeDescription>> |
ElementMatchers.rawTypes(Iterable<? extends TypeDescription> typeDescriptions)
Matches an iteration of generic types' erasures against the provided raw types.
|
static <T extends Iterable<? extends GenericTypeDescription>> |
ElementMatchers.rawTypes(TypeDescription... typeDescription)
Matches an iteration of generic types' erasures against the provided raw types.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends MethodDescription> |
ElementMatchers.declaresGenericException(GenericTypeDescription exceptionType)
Matches a method that declares the given generic exception type.
|
static <T extends FieldDescription> |
ElementMatchers.genericFieldType(GenericTypeDescription fieldType)
Matches a field's generic type against the provided matcher.
|
static <T extends ByteCodeElement> |
ElementMatchers.isDeclaredByGeneric(GenericTypeDescription type)
Matches a
ByteCodeElement for being declared by a given GenericTypeDescription. |
static <T extends MethodDescription> |
ElementMatchers.isGetter(GenericTypeDescription typeDescription)
Matches any Java bean getter method which returns the given type.
|
static <T extends MethodDescription> |
ElementMatchers.isSetter(GenericTypeDescription typeDescription)
Matches any Java bean setter method which takes an argument the given type.
|
static <T extends MethodDescription> |
ElementMatchers.returnsGeneric(GenericTypeDescription typeDescription)
Matches
MethodDescriptions that returns a given
TypeDescription. |
static <T extends MethodDescription> |
ElementMatchers.takesGenericArguments(GenericTypeDescription... typeDescription)
Matches a method description that takes the provided generic arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends MethodDescription> |
ElementMatchers.declaresGenericException(ElementMatcher<? super Iterable<? extends GenericTypeDescription>> exceptionMatcher)
Matches a method's generic exception types against the provided matcher.
|
static <T extends FieldDescription> |
ElementMatchers.fieldType(ElementMatcher<? super GenericTypeDescription> matcher)
Matches a field's raw type against the provided matcher.
|
static <T extends FieldDescription> |
ElementMatchers.genericFieldType(ElementMatcher<? super GenericTypeDescription> matcher)
Matches a field's generic type against the provided matcher.
|
static <T extends ParameterDescription> |
ElementMatchers.hasGenericType(ElementMatcher<? super GenericTypeDescription> matcher)
Matches a method parameter by its generic type.
|
static <T extends ByteCodeElement> |
ElementMatchers.isDeclaredByGeneric(ElementMatcher<? super GenericTypeDescription> matcher)
Matches a
ByteCodeElement for being declared by a GenericTypeDescription that is matched by the given matcher. |
static <T extends MethodDescription> |
ElementMatchers.isGetter(ElementMatcher<? super GenericTypeDescription> matcher)
Matches any Java bean getter method which returns an value with a type matches the supplied matcher.
|
static <T extends MethodDescription> |
ElementMatchers.isSetter(ElementMatcher<? super GenericTypeDescription> matcher)
Matches any Java bean setter method which takes an argument that matches the supplied matcher.
|
static <T extends MethodDescription> |
ElementMatchers.returnsGeneric(ElementMatcher<? super GenericTypeDescription> matcher)
Matches
MethodDescriptions that matches a matched method's return type. |
static <T extends MethodDescription> |
ElementMatchers.takesGenericArguments(ElementMatcher<? super Iterable<? extends GenericTypeDescription>> matchers)
Matches a
MethodDescription by applying an iterable collection of element matcher on any parameter's TypeDescription. |
static <T extends MethodDescription> |
ElementMatchers.takesGenericArguments(List<? extends GenericTypeDescription> typeDescriptions)
Matches a method description that takes the provided generic arguments.
|
| Constructor and Description |
|---|
DeclaringTypeMatcher(ElementMatcher<? super GenericTypeDescription> typeMatcher)
Creates a new matcher for the declaring type of an element.
|
FieldTypeMatcher(ElementMatcher<? super GenericTypeDescription> typeMatcher)
Creates a new matcher for a matched field's type.
|
MethodParameterTypeMatcher(ElementMatcher<? super GenericTypeDescription> matcher)
Creates a new matcher for a method's parameter's type.
|
MethodParameterTypesMatcher(ElementMatcher<? super List<? extends GenericTypeDescription>> matcher)
Creates a new matcher for a method's parameter types.
|
MethodReturnTypeMatcher(ElementMatcher<? super GenericTypeDescription> typeMatcher)
Creates a new matcher for a matched element's return type.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypePool.LazyFacade.LazyResolution.LazyTypeDescription
A lazy type description for a lazy facade of a type pool.
|
static class |
TypePool.LazyTypeDescription
A type description that looks up any referenced
ByteCodeElement or
AnnotationDescription by querying a type pool at lookup time. |
protected class |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType
A generic type description that represents a parameterized type without an enclosing generic owner type.
|
protected class |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType
A lazy description of a parameterized type with an owner type.
|
protected class |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable
A type description that represents a type variable with bounds that are resolved lazily.
|
| Modifier and Type | Method and Description |
|---|---|
protected GenericTypeDescription |
TypePool.LazyFacade.LazyResolution.LazyTypeDescription.getDeclaredSuperType() |
protected GenericTypeDescription |
TypePool.LazyTypeDescription.getDeclaredSuperType() |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType.getOwnerType() |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType.getOwnerType() |
GenericTypeDescription |
TypePool.LazyFacade.LazyResolution.LazyTypeDescription.getSuperType() |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
FieldDescription definingField) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
FieldDescription definingField) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
FieldDescription definingField)
Resolves the field type of the represented field.
|
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized.resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
FieldDescription definingField) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
MethodDescription definingMethod)
Resolves the return type of the represented method.
|
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized.resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
MethodDescription definingMethod) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveSuperType(String superTypeDescriptor,
TypePool typePool,
TypeDescription definingType) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveSuperType(String superTypeDescriptor,
TypePool typePool,
TypeDescription definingType) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType.resolveSuperType(String superTypeDescriptor,
TypePool typePool,
TypeDescription definingType)
Resolves the generic super type of the represented type.
|
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveSuperType(String superTypeDescriptor,
TypePool typePool,
TypeDescription definingType) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource)
Transforms this token into a generic type reprsentation.
|
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForRawType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForGenericArray.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
GenericTypeDescription |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Collection<? extends GenericTypeDescription>> |
ByteBuddyCommons.isActualType(T typeDescriptions)
Validates that a collection of types represents an actual type, i.e.
|
static <T extends GenericTypeDescription> |
ByteBuddyCommons.isActualType(T typeDescription)
Validates that a type represents an actual type, i.e.
|
static <T extends Collection<? extends GenericTypeDescription>> |
ByteBuddyCommons.isActualTypeOrVoid(T typeDescriptions)
Validates that a collection of types represents an actual type or
void, i.e. |
static <T extends GenericTypeDescription> |
ByteBuddyCommons.isActualTypeOrVoid(T typeDescription)
Validates that a type represents an actual type or
void, i.e. |
static <T extends GenericTypeDescription> |
ByteBuddyCommons.isExtendable(T typeDescription)
Validates that a type is extendable, i.e.
|
static <T extends Collection<? extends GenericTypeDescription>> |
ByteBuddyCommons.isImplementable(T typeDescriptions)
Verifies that a collection of types can be implemented.
|
static <T extends GenericTypeDescription> |
ByteBuddyCommons.isImplementable(T typeDescription)
Verifies that a type can be implemented.
|
static <T extends Collection<? extends GenericTypeDescription>> |
ByteBuddyCommons.isThrowable(T typeDescriptions)
Validates that a collection of types only contains throwable types.
|
static <T extends GenericTypeDescription> |
ByteBuddyCommons.isThrowable(T typeDescription)
Validates that a type is a throwable type.
|
static <T extends GenericTypeDescription> |
ByteBuddyCommons.joinUniqueRaw(Collection<? extends T> left,
Collection<? extends T> right)
Joins two collections where the left collection must only contain unique elements.
|
static <T extends Collection<? extends GenericTypeDescription>> |
ByteBuddyCommons.uniqueRaw(T typeDescriptions)
Validates that a collection of generic type descriptions does not contain duplicate type erasure.
|
Copyright © 2014–2015. All rights reserved.