public enum CompletionType extends java.lang.Enum<CompletionType>
Enum Constant and Description |
---|
BASIC |
CLASS_NAME
Only to be passed to
CompletionService.getVariantsFromContributors(CompletionParameters, CompletionContributor, com.intellij.util.Consumer)
to invoke special class-name providers for various file types where those class names are applicable (e.g. |
SMART |
Modifier and Type | Method and Description |
---|---|
static CompletionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompletionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompletionType BASIC
public static final CompletionType SMART
public static final CompletionType CLASS_NAME
CompletionService.getVariantsFromContributors(CompletionParameters, CompletionContributor, com.intellij.util.Consumer)
to invoke special class-name providers for various file types where those class names are applicable (e.g. xml, txt, properties, custom)public static CompletionType[] values()
for (CompletionType c : CompletionType.values()) System.out.println(c);
public static CompletionType 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