@HashCodeAndEqualsPlugin.Enhance public static class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod.Tokenized extends java.lang.Object implements TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForMethod
MethodDescription
.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
Modifier and Type | Field and Description |
---|---|
private java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> |
exceptionTypeTokens
A token describing the represented method's exception types.
|
private java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> |
parameterTypeTokens
A token describing the represented method's parameter types.
|
private TypePool.Default.LazyTypeDescription.GenericTypeToken |
returnTypeToken
A token describing the represented method's return type.
|
private java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> |
typeVariableTokens
A token describing the represented method's type variables.
|
Modifier | Constructor and Description |
---|---|
protected |
Tokenized(TypePool.Default.LazyTypeDescription.GenericTypeToken returnTypeToken,
java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> parameterTypeTokens,
java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> exceptionTypeTokens,
java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariableTokens)
Creates a new tokenized resolution of a
MethodDescription 's generic signatures. |
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.
|
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.
|
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.
|
private final TypePool.Default.LazyTypeDescription.GenericTypeToken returnTypeToken
private final java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> parameterTypeTokens
private final java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> exceptionTypeTokens
private final java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> typeVariableTokens
protected Tokenized(TypePool.Default.LazyTypeDescription.GenericTypeToken returnTypeToken, java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> parameterTypeTokens, java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken> exceptionTypeTokens, java.util.List<TypePool.Default.LazyTypeDescription.GenericTypeToken.OfFormalTypeVariable> 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 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 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.