public static class TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested extends Object implements TypePool.LazyTypeDescription.GenericTypeToken
Modifier and Type | Class and Description |
---|---|
protected class |
TypePool.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType
A lazy description of a parameterized type with an 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 |
---|
Nested(String name,
List<TypePool.LazyTypeDescription.GenericTypeToken> parameters,
TypePool.LazyTypeDescription.GenericTypeToken ownerType)
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 Nested(String name, List<TypePool.LazyTypeDescription.GenericTypeToken> parameters, TypePool.LazyTypeDescription.GenericTypeToken ownerType)
name
- The name of the parameterized type's erasure.parameters
- A list of tokens that represent the parameters of the represented type.ownerType
- A token that describes the described parameterized type's owner type.public GenericTypeDescription.Sort getSort()
TypePool.LazyTypeDescription.GenericTypeToken
getSort
in interface TypePool.LazyTypeDescription.GenericTypeToken
public GenericTypeDescription toGenericType(TypePool typePool, TypeVariableSource typeVariableSource)
TypePool.LazyTypeDescription.GenericTypeToken
toGenericType
in interface TypePool.LazyTypeDescription.GenericTypeToken
typePool
- The type pool to be used for locating non-generic type descriptions.typeVariableSource
- The type variable source.Copyright © 2014–2015. All rights reserved.