Package org.eclipse.lsp4j
Class SemanticTokensLegend
- java.lang.Object
-
- org.eclipse.lsp4j.SemanticTokensLegend
-
public class SemanticTokensLegend extends java.lang.ObjectThe legend used by the serverSince 3.16.0
-
-
Constructor Summary
Constructors Constructor Description SemanticTokensLegend()SemanticTokensLegend(java.util.List<java.lang.String> tokenTypes, java.util.List<java.lang.String> tokenModifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<java.lang.String>getTokenModifiers()The token modifiers that the client supports.java.util.List<java.lang.String>getTokenTypes()The token types that the client supports.inthashCode()voidsetTokenModifiers(java.util.List<java.lang.String> tokenModifiers)The token modifiers that the client supports.voidsetTokenTypes(java.util.List<java.lang.String> tokenTypes)The token types that the client supports.java.lang.StringtoString()
-
-
-
Method Detail
-
getTokenTypes
public java.util.List<java.lang.String> getTokenTypes()
The token types that the client supports.See
SemanticTokenTypesfor allowed values.
-
setTokenTypes
public void setTokenTypes(java.util.List<java.lang.String> tokenTypes)
The token types that the client supports.See
SemanticTokenTypesfor allowed values.
-
getTokenModifiers
public java.util.List<java.lang.String> getTokenModifiers()
The token modifiers that the client supports.See
SemanticTokenModifiersfor allowed values.
-
setTokenModifiers
public void setTokenModifiers(java.util.List<java.lang.String> tokenModifiers)
The token modifiers that the client supports.See
SemanticTokenModifiersfor allowed values.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-