public enum JSType extends Enum<JSType>
| Enum Constant and Description |
|---|
ARRAY |
BOOLEAN |
NUMBER |
OBJECT |
STRING |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static JSType |
getJSType(Class javaClass) |
String |
toString() |
static JSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSType STRING
public static final JSType NUMBER
public static final JSType ARRAY
public static final JSType BOOLEAN
public static final JSType OBJECT
public static final JSType UNDEFINED
public static JSType[] values()
for (JSType c : JSType.values()) System.out.println(c);
public static JSType 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 nullCopyright © 2016. All rights reserved.