public static class TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType extends Object implements TypePool.LazyTypeDescription.GenericTypeToken
| Modifier and Type | Class and Description |
|---|---|
protected class |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType
A generic type description that represents a parameterized type without an enclosing generic owner type.
|
static class |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested
A generic type token to describe a parameterized type description with a generic owner type.
|
TypePool.LazyTypeDescription.GenericTypeToken.ForGenericArray, TypePool.LazyTypeDescription.GenericTypeToken.ForLowerBoundWildcard, TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType, TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType, TypePool.LazyTypeDescription.GenericTypeToken.ForRawType, TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable, TypePool.LazyTypeDescription.GenericTypeToken.ForUnboundWildcard, TypePool.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard, TypePool.LazyTypeDescription.GenericTypeToken.Resolution| Constructor and Description |
|---|
ForParameterizedType(String name,
List<TypePool.LazyTypeDescription.GenericTypeToken> parameters)
Creates a type token that represents a parameterized type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
GenericTypeDescription.Sort |
getSort()
Returns the sort of the generic type this token represents.
|
int |
hashCode() |
GenericTypeDescription |
toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource)
Transforms this token into a generic type reprsentation.
|
String |
toString() |
public ForParameterizedType(String name, List<TypePool.LazyTypeDescription.GenericTypeToken> parameters)
name - The name of the parameterized type's erasure.parameters - A list of tokens that represent the parameters of the represented type.public GenericTypeDescription.Sort getSort()
TypePool.LazyTypeDescription.GenericTypeTokengetSort in interface TypePool.LazyTypeDescription.GenericTypeTokenpublic GenericTypeDescription toGenericType(TypePool typePool, TypeVariableSource typeVariableSource)
TypePool.LazyTypeDescription.GenericTypeTokentoGenericType in interface TypePool.LazyTypeDescription.GenericTypeTokentypePool - The type pool to be used for locating non-generic type descriptions.typeVariableSource - The type variable source.Copyright © 2014–2015. All rights reserved.