public static enum TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType extends Enum<TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType> 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| Enum Constant and Description |
|---|
BOOLEAN
The generic type token describing the
boolean type. |
BYTE
The generic type token describing the
byte type. |
CHAR
The generic type token describing the
char type. |
DOUBLE
The generic type token describing the
double type. |
FLOAT
The generic type token describing the
float type. |
INTEGER
The generic type token describing the
int type. |
LONG
The generic type token describing the
long type. |
SHORT
The generic type token describing the
short type. |
VOID
The generic type token describing the
void type. |
| Modifier and Type | Method and Description |
|---|---|
GenericTypeDescription.Sort |
getSort()
Returns the sort of the generic type this token represents.
|
static TypePool.LazyTypeDescription.GenericTypeToken |
of(char descriptor)
Resolves a generic type token of a primitive type.
|
GenericTypeDescription |
toGenericType(TypePool typePool,
TypeVariableSource typeVariableSource)
Transforms this token into a generic type reprsentation.
|
String |
toString() |
static TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType BOOLEAN
boolean type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType BYTE
byte type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType SHORT
short type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType CHAR
char type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType INTEGER
int type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType LONG
long type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType FLOAT
float type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType DOUBLE
double type.public static final TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType VOID
void type.public static TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType[] values()
for (TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType c : TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.values()) System.out.println(c);
public static TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TypePool.LazyTypeDescription.GenericTypeToken of(char descriptor)
descriptor - The descriptor of the primitive 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.public String toString()
toString in class Enum<TypePool.LazyTypeDescription.GenericTypeToken.ForPrimitiveType>Copyright © 2014–2015. All rights reserved.