public enum CodeActionTriggerKind extends java.lang.Enum<CodeActionTriggerKind>
Since 3.17.0
| Enum Constant and Description |
|---|
Automatic
Code actions were requested automatically.
|
Invoked
Code actions were explicitly requested by the user or by an extension.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeActionTriggerKind |
forValue(int value) |
int |
getValue() |
static CodeActionTriggerKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeActionTriggerKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeActionTriggerKind Invoked
public static final CodeActionTriggerKind Automatic
This typically happens when current selection in a file changes, but can also be triggered when file content changes.
public static CodeActionTriggerKind[] values()
for (CodeActionTriggerKind c : CodeActionTriggerKind.values()) System.out.println(c);
public static CodeActionTriggerKind 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 int getValue()
public static CodeActionTriggerKind forValue(int value)