public enum Keyword extends Enum<Keyword>
| Enum Constant and Description |
|---|
BINARY |
BLOCK_COMMENT_END |
BLOCK_COMMENT_START |
BOOL |
BYTE |
CONST |
DOUBLE |
ENUM |
EXCEPTION |
EXTENDS |
I16 |
I32 |
I64 |
INCLUDE |
JAVA_LINE_COMMENT_START |
LIST |
MAP |
NAMESPACE |
ONEWAY |
OPTIONAL |
PRIVATE |
PROTECTED |
PUBLIC |
REQUIRED |
SENUM |
SERVICE |
SET |
SLIST |
STRING |
STRUCT |
THROWS |
TYPEDEF |
UNION |
VOID |
| Modifier and Type | Method and Description |
|---|---|
static Keyword |
getByToken(String token) |
String |
toString() |
static Keyword |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Keyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Keyword INCLUDE
public static final Keyword NAMESPACE
public static final Keyword ENUM
public static final Keyword STRUCT
public static final Keyword UNION
public static final Keyword EXCEPTION
public static final Keyword SERVICE
public static final Keyword CONST
public static final Keyword TYPEDEF
public static final Keyword REQUIRED
public static final Keyword OPTIONAL
public static final Keyword ONEWAY
public static final Keyword THROWS
public static final Keyword EXTENDS
public static final Keyword VOID
public static final Keyword BOOL
public static final Keyword BYTE
public static final Keyword I16
public static final Keyword I32
public static final Keyword I64
public static final Keyword DOUBLE
public static final Keyword STRING
public static final Keyword BINARY
public static final Keyword LIST
public static final Keyword SET
public static final Keyword MAP
public static final Keyword SENUM
public static final Keyword SLIST
public static final Keyword PUBLIC
public static final Keyword PROTECTED
public static final Keyword PRIVATE
public static final Keyword JAVA_LINE_COMMENT_START
public static final Keyword BLOCK_COMMENT_START
public static final Keyword BLOCK_COMMENT_END
public String keyword
public static Keyword[] values()
for (Keyword c : Keyword.values()) System.out.println(c);
public static Keyword 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.