public static class TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal extends Object implements TypePool.LazyTypeDescription.GenericTypeToken
| Modifier and Type | Class and Description |
|---|---|
protected class |
TypePool.LazyTypeDescription.GenericTypeToken.ForTypeVariable.Formal.LazyTypeVariable
A type description that represents a type variable with bounds that are resolved lazily.
|
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 |
|---|
Formal(String symbol,
List<TypePool.LazyTypeDescription.GenericTypeToken> bounds)
Creates generic type token that represent a formal type variable.
|
| 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 Formal(String symbol, List<TypePool.LazyTypeDescription.GenericTypeToken> bounds)
symbol - This type variable's nominal symbol.bounds - A list of tokens that represent this type variable's upper bounds.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.