public static enum TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw extends Enum<TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw> implements TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField.Tokenized
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
GenericTypeList |
resolveExceptionTypes(List<String> exceptionTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod)
Resolves the generic parameter types of the represented method.
|
GenericTypeDescription |
resolveFieldType(String fieldTypeDescriptor,
TypePool typePool,
FieldDescription definingField)
Resolves the field type of the represented field.
|
GenericTypeList |
resolveInterfaceTypes(List<String> interfaceTypeDescriptors,
TypePool typePool,
TypeDescription definingType)
Resolves the generic interface types of the represented type.
|
GenericTypeList |
resolveParameterTypes(List<String> parameterTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod)
Resolves the generic parameter types of the represented method.
|
GenericTypeDescription |
resolveReturnType(String returnTypeDescriptor,
TypePool typePool,
MethodDescription definingMethod)
Resolves the return type of the represented method.
|
GenericTypeDescription |
resolveSuperType(String superTypeDescriptor,
TypePool typePool,
TypeDescription definingType)
Resolves the generic super type of the represented type.
|
GenericTypeList |
resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource)
Resolves the type variables of the represented element.
|
String |
toString() |
static TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.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.LazyTypeDescription.GenericTypeToken.Resolution.Raw INSTANCE
public static TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw[] values()
for (TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw c : TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw.values()) System.out.println(c);
public static TypePool.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 GenericTypeDescription resolveFieldType(String fieldTypeDescriptor, TypePool typePool, FieldDescription definingField)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField
resolveFieldType
in interface TypePool.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.definingField
- The field that defines this type.public GenericTypeDescription resolveReturnType(String returnTypeDescriptor, TypePool typePool, MethodDescription definingMethod)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
resolveReturnType
in interface TypePool.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.definingMethod
- The method that defines this return type.public GenericTypeList resolveParameterTypes(List<String> parameterTypeDescriptors, TypePool typePool, MethodDescription definingMethod)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
resolveParameterTypes
in interface TypePool.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.definingMethod
- The method that defines these parameter types.public GenericTypeList resolveExceptionTypes(List<String> exceptionTypeDescriptors, TypePool typePool, MethodDescription definingMethod)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
resolveExceptionTypes
in interface TypePool.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.definingMethod
- The method that defines these exception types.public GenericTypeDescription resolveSuperType(String superTypeDescriptor, TypePool typePool, TypeDescription definingType)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType
resolveSuperType
in interface TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType
superTypeDescriptor
- The descriptor of the raw super type.typePool
- The type pool to be used for locating non-generic type descriptions.definingType
- The type that defines this super type.public GenericTypeList resolveInterfaceTypes(List<String> interfaceTypeDescriptors, TypePool typePool, TypeDescription definingType)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType
resolveInterfaceTypes
in interface TypePool.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.definingType
- The type that defines these interface type.public GenericTypeList resolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution
resolveTypeVariables
in interface TypePool.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.public String toString()
toString
in class Enum<TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw>
Copyright © 2014–2015. All rights reserved.