public static class TypePool.LazyTypeDescription.GenericTypeToken.ForUpperBoundWildcard 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 |
---|
ForUpperBoundWildcard(TypePool.LazyTypeDescription.GenericTypeToken baseType)
Creates a generic type token for a wildcard that is bound above.
|
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 ForUpperBoundWildcard(TypePool.LazyTypeDescription.GenericTypeToken baseType)
baseType
- A token that represents the wildcard's upper bound.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.