| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public final enum TypeKind extends Enum
The kind of a type mirror.
Note that it is possible additional type kinds will be added to accommodate new, currently unknown, language structures added to future versions of the Java™ programming language.
Field Summary | |
---|---|
static TypeKind |
ARRAY
An array type. |
static TypeKind |
BOOLEAN
The primitive type . |
static TypeKind |
BYTE
The primitive type . |
static TypeKind |
CHAR
The primitive type . |
static TypeKind |
DECLARED
A class or interface type. |
static TypeKind |
DOUBLE
The primitive type . |
static TypeKind |
ERROR
A class or interface type that could not be resolved. |
static TypeKind |
EXECUTABLE
A method, constructor, or initializer. |
static TypeKind |
FLOAT
The primitive type . |
static TypeKind |
INT
The primitive type . |
static TypeKind |
LONG
The primitive type . |
static TypeKind |
NONE
A pseudo-type used where no actual type is appropriate. |
static TypeKind |
NULL
The null type. |
static TypeKind |
OTHER
An implementation-reserved type. |
static TypeKind |
PACKAGE
A pseudo-type corresponding to a package element. |
static TypeKind |
SHORT
The primitive type . |
static TypeKind |
TYPEVAR
A type variable. |
static TypeKind |
VOID
The pseudo-type corresponding to the keyword . |
static TypeKind |
WILDCARD
A wildcard type argument. |
Method Summary | |
---|---|
boolean |
Returns if this kind corresponds to a primitive type and otherwise. |
static TypeKind |
|
static TypeKind[] |
values() |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TypeKind ARRAY
public static final TypeKind BOOLEAN
public static final TypeKind BYTE
public static final TypeKind CHAR
public static final TypeKind DECLARED
public static final TypeKind DOUBLE
public static final TypeKind ERROR
public static final TypeKind EXECUTABLE
public static final TypeKind FLOAT
public static final TypeKind INT
public static final TypeKind LONG
public static final TypeKind NONE
public static final TypeKind NULL
public static final TypeKind OTHER
public static final TypeKind PACKAGE
public static final TypeKind SHORT
public static final TypeKind TYPEVAR
public static final TypeKind VOID
public static final TypeKind WILDCARD
Method Detail |
---|
public boolean isPrimitive()
public static TypeKind valueOf(String name)
name
public static TypeKind[] values()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |