public static enum Completion.TextFormat extends Enum<Completion.TextFormat>
Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
PlainText
The primary text to be inserted is treated as a plain string.
|
Snippet
The primary text to be inserted is treated as a snippet.
|
Modifier and Type | Method and Description |
---|---|
static Completion.TextFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Completion.TextFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Completion.TextFormat PlainText
public static final Completion.TextFormat Snippet
public static Completion.TextFormat[] values()
public static Completion.TextFormat 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 null