public static enum TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw extends 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.
|
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic TypeDescription.Generic resolveFieldType(String fieldTypeDescriptor, TypePool typePool, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, FieldDescription.InDefinedShape definingField)
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForField
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(String returnTypeDescriptor, TypePool typePool, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
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(List<String> parameterTypeDescriptors, TypePool typePool, Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
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(List<String> exceptionTypeDescriptors, TypePool typePool, Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, MethodDescription.InDefinedShape definingMethod)
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
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(String superClassDescriptor, TypePool typePool, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType)
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
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(List<String> interfaceTypeDescriptors, TypePool typePool, Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType)
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType
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, Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, Map<Integer,Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>>> boundAnnotationTokens)
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution
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.Copyright © 2014–2018. All rights reserved.