Package org.eclipse.lsp4j
Enum SignatureHelpTriggerKind
- java.lang.Object
-
- java.lang.Enum<SignatureHelpTriggerKind>
-
- org.eclipse.lsp4j.SignatureHelpTriggerKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SignatureHelpTriggerKind>
public enum SignatureHelpTriggerKind extends java.lang.Enum<SignatureHelpTriggerKind>
How a signature help was triggered.Since 3.15.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ContentChangeSignature help was triggered by the cursor moving or by the document content changing.InvokedSignature help was invoked manually by the user or by a command.TriggerCharacterSignature help was triggered by a trigger character.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignatureHelpTriggerKindforValue(int value)intgetValue()static SignatureHelpTriggerKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SignatureHelpTriggerKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invoked
public static final SignatureHelpTriggerKind Invoked
Signature help was invoked manually by the user or by a command.
-
TriggerCharacter
public static final SignatureHelpTriggerKind TriggerCharacter
Signature help was triggered by a trigger character.
-
ContentChange
public static final SignatureHelpTriggerKind ContentChange
Signature help was triggered by the cursor moving or by the document content changing.
-
-
Method Detail
-
values
public static SignatureHelpTriggerKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SignatureHelpTriggerKind c : SignatureHelpTriggerKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureHelpTriggerKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-
forValue
public static SignatureHelpTriggerKind forValue(int value)
-
-