public static enum CodeSnippet.SubKind extends java.lang.Enum<CodeSnippet.SubKind>
Modifier and Type | Method and Description |
---|---|
boolean |
hasValue() |
boolean |
isExecutable() |
CodeSnippet.Kind |
kind() |
static CodeSnippet.SubKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeSnippet.SubKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeSnippet.SubKind SINGLE_TYPE_IMPORT_SUBKIND
public static final CodeSnippet.SubKind TYPE_IMPORT_ON_DEMAND_SUBKIND
public static final CodeSnippet.SubKind SINGLE_STATIC_IMPORT_SUBKIND
public static final CodeSnippet.SubKind STATIC_IMPORT_ON_DEMAND_SUBKIND
public static final CodeSnippet.SubKind CLASS_SUBKIND
public static final CodeSnippet.SubKind INTERFACE_SUBKIND
public static final CodeSnippet.SubKind ENUM_SUBKIND
public static final CodeSnippet.SubKind ANNOTATION_TYPE_SUBKIND
public static final CodeSnippet.SubKind METHOD_SUBKIND
public static final CodeSnippet.SubKind VAR_DECLARATION_SUBKIND
public static final CodeSnippet.SubKind VAR_DECLARATION_WITH_INITIALIZER_SUBKIND
public static final CodeSnippet.SubKind TEMP_VAR_EXPRESSION_SUBKIND
public static final CodeSnippet.SubKind VAR_VALUE_SUBKIND
public static final CodeSnippet.SubKind ASSIGNMENT_SUBKIND
public static final CodeSnippet.SubKind OTHER_EXPRESSION_SUBKIND
public static final CodeSnippet.SubKind STATEMENT_SUBKIND
public static final CodeSnippet.SubKind UNKNOWN_SUBKIND
public static CodeSnippet.SubKind[] values()
for (CodeSnippet.SubKind c : CodeSnippet.SubKind.values()) System.out.println(c);
public static CodeSnippet.SubKind 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 nullpublic boolean isExecutable()
public boolean hasValue()
public CodeSnippet.Kind kind()