| Enum Constant and Description |
|---|
BOOLEAN |
BYTE_STRING |
DOUBLE |
ENUM |
FLOAT |
INT |
LONG |
MESSAGE |
STRING |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract java.lang.Object |
fromString(java.lang.String input)
Returns the correspondent java type
|
(package private) boolean |
isScalar() |
static JavaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaType INT
public static final JavaType LONG
public static final JavaType FLOAT
public static final JavaType DOUBLE
public static final JavaType BOOLEAN
public static final JavaType STRING
public static final JavaType BYTE_STRING
public static final JavaType ENUM
public static final JavaType MESSAGE
public static JavaType[] values()
for (JavaType c : JavaType.values()) System.out.println(c);
public static JavaType 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 nullabstract java.lang.Object fromString(java.lang.String input)
input - Input textboolean isScalar()