public static enum SnippetBlock.SnippetType extends Enum<SnippetBlock.SnippetType>
Modifier and Type | Method and Description |
---|---|
static SnippetBlock.SnippetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnippetBlock.SnippetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnippetBlock.SnippetType KEYWORD
public static final SnippetBlock.SnippetType SNIPPET
public static final SnippetBlock.SnippetType STATEMENT
public static SnippetBlock.SnippetType[] values()
for (SnippetBlock.SnippetType c : SnippetBlock.SnippetType.values()) System.out.println(c);
public static SnippetBlock.SnippetType 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 © 2019 WSO2. All rights reserved.