public static class TypePool.LazyTypeDescription.GenericTypeToken.ForRawType extends Object implements TypePool.LazyTypeDescription.GenericTypeToken
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 |
---|
ForRawType(String name)
Creates a new type token that represents a non-generic 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 ForRawType(String name)
name
- The name of the represented 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.