Package org.eclipse.lsp4j
Enum CompletionItemTag
- java.lang.Object
-
- java.lang.Enum<CompletionItemTag>
-
- org.eclipse.lsp4j.CompletionItemTag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CompletionItemTag>
public enum CompletionItemTag extends java.lang.Enum<CompletionItemTag>
Completion item tags are extra annotations that tweak the rendering of a completion item.Since 3.15.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DeprecatedRender a completion as obsolete, usually using a strike-out.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompletionItemTagforValue(int value)intgetValue()static CompletionItemTagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CompletionItemTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Deprecated
public static final CompletionItemTag Deprecated
Render a completion as obsolete, usually using a strike-out.
-
-
Method Detail
-
values
public static CompletionItemTag[] 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 (CompletionItemTag c : CompletionItemTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompletionItemTag 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 CompletionItemTag forValue(int value)
-
-