public enum SimpleType extends java.lang.Enum<SimpleType>
| Enum Constant and Description |
|---|
Array |
Boolean |
Byte |
Character |
Double |
Float |
Integer |
Long |
Object |
Short |
TypeVariable |
Void |
Wildcard |
| Modifier and Type | Method and Description |
|---|---|
int |
bitWidth() |
java.lang.String |
getDescriptorPrefix() |
java.lang.String |
getPrimitiveName() |
boolean |
isDoubleWord() |
boolean |
isFloating() |
boolean |
isIntegral() |
boolean |
isNumeric() |
boolean |
isOther() |
boolean |
isPrimitive() |
boolean |
isPrimitiveOrVoid() |
boolean |
isSigned() |
boolean |
isSingleWord() |
boolean |
isSubWordOrInt32() |
boolean |
isUnsigned() |
int |
stackSlots() |
static SimpleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleType Boolean
public static final SimpleType Byte
public static final SimpleType Character
public static final SimpleType Short
public static final SimpleType Integer
public static final SimpleType Long
public static final SimpleType Float
public static final SimpleType Double
public static final SimpleType Object
public static final SimpleType Array
public static final SimpleType TypeVariable
public static final SimpleType Wildcard
public static final SimpleType Void
public static SimpleType[] values()
for (SimpleType c : SimpleType.values()) System.out.println(c);
public static SimpleType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic final java.lang.String getDescriptorPrefix()
public final java.lang.String getPrimitiveName()
public final boolean isPrimitive()
public final boolean isPrimitiveOrVoid()
public final int bitWidth()
public final int stackSlots()
public final boolean isSingleWord()
public final boolean isDoubleWord()
public final boolean isNumeric()
public final boolean isIntegral()
public final boolean isSubWordOrInt32()
public final boolean isSigned()
public final boolean isUnsigned()
public final boolean isFloating()
public final boolean isOther()