public enum CompletionTokenType extends java.lang.Enum<CompletionTokenType>
| Enum Constant and Description |
|---|
CLASS_NAME
The token is a class name
|
COMMENT
The token is in a comment
|
CONSTRUCTOR
The token is a constructor name (i.e.
|
IMPORT
The token is in an import statement
|
OBJECT_METHOD
The token is part of a method chain (and may be the first one).
|
STATIC_METHOD
The token is part of a method chain (and may be the first one).
|
STRING
The token is inside a string
|
VARIABLE
The token is a variable
|
| Modifier and Type | Method and Description |
|---|---|
static CompletionTokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompletionTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionTokenType COMMENT
public static final CompletionTokenType OBJECT_METHOD
public static final CompletionTokenType STATIC_METHOD
public static final CompletionTokenType VARIABLE
public static final CompletionTokenType IMPORT
public static final CompletionTokenType STRING
public static final CompletionTokenType CLASS_NAME
public static final CompletionTokenType CONSTRUCTOR
public static CompletionTokenType[] values()
for (CompletionTokenType c : CompletionTokenType.values()) System.out.println(c);
public static CompletionTokenType 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 null