public static enum SnippetFormatter.SnippetKind extends java.lang.Enum<SnippetFormatter.SnippetKind>
Enum Constant and Description |
---|
CLASS_BODY_DECLARATIONS |
COMPILATION_UNIT |
EXPRESSION |
STATEMENTS |
Modifier and Type | Method and Description |
---|---|
static SnippetFormatter.SnippetKind |
valueOf(java.lang.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(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 nullCopyright © 2015-2018 Google Inc.. All Rights Reserved.