public static enum SnippetFormatter.SnippetKind extends Enum<SnippetFormatter.SnippetKind>
Enum Constant and Description |
---|
CLASS_BODY_DECLARATIONS |
COMPILATION_UNIT |
EXPRESSION |
STATEMENTS |
Modifier and Type | Method and Description |
---|---|
static SnippetFormatter.SnippetKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnippetFormatter.SnippetKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnippetFormatter.SnippetKind COMPILATION_UNIT
public static final SnippetFormatter.SnippetKind CLASS_BODY_DECLARATIONS
public static final SnippetFormatter.SnippetKind STATEMENTS
public static final SnippetFormatter.SnippetKind EXPRESSION
public static SnippetFormatter.SnippetKind[] values()
for (SnippetFormatter.SnippetKind c : SnippetFormatter.SnippetKind.values()) System.out.println(c);
public static SnippetFormatter.SnippetKind 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 © 2015–2017 Google Inc.. All rights reserved.