public static enum TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw extends java.lang.Enum<TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw> implements TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType
Represents a non-generic type that defines type annotations.
|
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed, TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
TypeList.Generic |
resolveExceptionTypes(java.util.List<java.lang.String> exceptionTypeDescriptors,
TypePool typePool,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.
|
TypeDescription.Generic |
resolveFieldType(java.lang.String fieldTypeDescriptor,
TypePool typePool,
java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
FieldDescription.InDefinedShape definingField)
Resolves the field type of the represented field.
|
TypeList.Generic |
resolveInterfaceTypes(java.util.List<java.lang.String> interfaceTypeDescriptors,
TypePool typePool,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
TypeDescription definingType)
Resolves the generic interface types of the represented type.
|
TypeList.Generic |
resolveParameterTypes(java.util.List<java.lang.String> parameterTypeDescriptors,
TypePool typePool,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
MethodDescription.InDefinedShape definingMethod)
Resolves the generic parameter types of the represented method.
|
TypeDescription.Generic |
resolveReturnType(java.lang.String returnTypeDescriptor,
TypePool typePool,
java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
MethodDescription.InDefinedShape definingMethod)
Resolves the return type of the represented method.
|
TypeDescription.Generic |
resolveSuperClass(java.lang.String superClassDescriptor,
TypePool typePool,
java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
TypeDescription definingType)
Resolves the generic super type of the represented type.
|
TypeList.Generic |
resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
Resolves the type variables of the represented element.
|
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw INSTANCE
public static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw[] values()
for (TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw c : TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.values()) System.out.println(c);
public static TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic TypeDescription.Generic resolveFieldType(java.lang.String fieldTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField)
resolveFieldType
in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
fieldTypeDescriptor
- The descriptor of the raw field type.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the represented types' type annotation tokens.definingField
- The field that defines this type. @return A description of this field's type.public TypeDescription.Generic resolveReturnType(java.lang.String returnTypeDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
resolveReturnType
in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
returnTypeDescriptor
- The descriptor of the raw return type.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the return type's type annotation tokens.definingMethod
- The method that defines this return type.public TypeList.Generic resolveParameterTypes(java.util.List<java.lang.String> parameterTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
resolveParameterTypes
in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
parameterTypeDescriptors
- The descriptor of the raw parameter types.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the parameter types' type annotation tokens by their indices.definingMethod
- The method that defines these parameter types.public TypeList.Generic resolveExceptionTypes(java.util.List<java.lang.String> exceptionTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
resolveExceptionTypes
in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
exceptionTypeDescriptors
- The descriptor of the raw exception types.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the exception types' type annotation tokens by their indices.definingMethod
- The method that defines these exception types.public TypeDescription.Generic resolveSuperClass(java.lang.String superClassDescriptor, TypePool typePool, java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType)
resolveSuperClass
in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
superClassDescriptor
- The descriptor of the raw super type.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the super type's type annotation tokens.definingType
- The type that defines this super type.public TypeList.Generic resolveInterfaceTypes(java.util.List<java.lang.String> interfaceTypeDescriptors, TypePool typePool, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType)
resolveInterfaceTypes
in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
interfaceTypeDescriptors
- The descriptor of the raw interface types.typePool
- The type pool to be used for locating non-generic type descriptions.annotationTokens
- A mapping of the interface types' type annotation tokens by their indices.definingType
- The type that defines these interface type.public TypeList.Generic resolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource, java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, java.util.Map<java.lang.Integer,java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.util.List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
resolveTypeVariables
in interface TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
typePool
- The type pool to be used for locating non-generic type descriptions.typeVariableSource
- The type variable source to use for resolving type variables.annotationTokens
- A mapping of the type variables' type annotation tokens by their indices.boundAnnotationTokens
- A mapping of the type variables' bounds' type annotation tokens by their indices
and each type variable's index.