public static class TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized extends Object implements TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
MethodDescription.TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.TokenizedTypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForField, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForType, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Malformed, TypePool.LazyTypeDescription.GenericTypeToken.Resolution.Raw| Constructor and Description |
|---|
Tokenized(TypePool.LazyTypeDescription.GenericTypeToken returnTypeToken,
List<TypePool.LazyTypeDescription.GenericTypeToken> parameterTypeTokens,
List<TypePool.LazyTypeDescription.GenericTypeToken> exceptionTypeTokens,
List<TypePool.LazyTypeDescription.GenericTypeToken> typeVariableTokens)
Creates a new tokenized resolution of a
MethodDescription's generic signatures. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
GenericTypeList |
resolveExceptionTypes(List<String> exceptionTypeDescriptors,
TypePool typePool,
MethodDescription definingMethod)
Resolves the generic parameter types of the represented method.
|
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.
|
GenericTypeList |
resolveTypeVariables(TypePool typePool,
TypeVariableSource typeVariableSource)
Resolves the type variables of the represented element.
|
String |
toString() |
public Tokenized(TypePool.LazyTypeDescription.GenericTypeToken returnTypeToken, List<TypePool.LazyTypeDescription.GenericTypeToken> parameterTypeTokens, List<TypePool.LazyTypeDescription.GenericTypeToken> exceptionTypeTokens, List<TypePool.LazyTypeDescription.GenericTypeToken> typeVariableTokens)
MethodDescription's generic signatures.returnTypeToken - A token describing the represented method's return type.parameterTypeTokens - A token describing the represented method's parameter types.exceptionTypeTokens - A token describing the represented method's exception types.typeVariableTokens - A token describing the represented method's type variables.public GenericTypeDescription resolveReturnType(String returnTypeDescriptor, TypePool typePool, MethodDescription definingMethod)
TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethodresolveReturnType in interface TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethodreturnTypeDescriptor - 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.ForMethodresolveParameterTypes in interface TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethodparameterTypeDescriptors - 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.ForMethodresolveExceptionTypes in interface TypePool.LazyTypeDescription.GenericTypeToken.Resolution.ForMethodexceptionTypeDescriptors - 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 GenericTypeList resolveTypeVariables(TypePool typePool, TypeVariableSource typeVariableSource)
TypePool.LazyTypeDescription.GenericTypeToken.ResolutionresolveTypeVariables in interface TypePool.LazyTypeDescription.GenericTypeToken.ResolutiontypePool - The type pool to be used for locating non-generic type descriptions.typeVariableSource - The type variable source to use for resolving type variables.Copyright © 2014–2015. All rights reserved.