Package org.eclipse.lsp4j
Class SymbolCapabilities
- java.lang.Object
-
- org.eclipse.lsp4j.DynamicRegistrationCapabilities
-
- org.eclipse.lsp4j.SymbolCapabilities
-
public class SymbolCapabilities extends DynamicRegistrationCapabilities
Capabilities specific to theworkspace/symbol
request.Referred to in the spec as
WorkspaceSymbolClientCapabilities
.
-
-
Constructor Summary
Constructors Constructor Description SymbolCapabilities()
SymbolCapabilities(java.lang.Boolean dynamicRegistration)
SymbolCapabilities(SymbolKindCapabilities symbolKind)
SymbolCapabilities(SymbolKindCapabilities symbolKind, java.lang.Boolean dynamicRegistration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
WorkspaceSymbolResolveSupportCapabilities
getResolveSupport()
The client supports partial workspace symbols.SymbolKindCapabilities
getSymbolKind()
Specific capabilities for theSymbolKind
in theworkspace/symbol
request.SymbolTagSupportCapabilities
getTagSupport()
The client supports tags onSymbolInformation
andWorkspaceSymbol
.int
hashCode()
void
setResolveSupport(WorkspaceSymbolResolveSupportCapabilities resolveSupport)
The client supports partial workspace symbols.void
setSymbolKind(SymbolKindCapabilities symbolKind)
Specific capabilities for theSymbolKind
in theworkspace/symbol
request.void
setTagSupport(SymbolTagSupportCapabilities tagSupport)
The client supports tags onSymbolInformation
andWorkspaceSymbol
.java.lang.String
toString()
-
Methods inherited from class org.eclipse.lsp4j.DynamicRegistrationCapabilities
getDynamicRegistration, setDynamicRegistration
-
-
-
-
Constructor Detail
-
SymbolCapabilities
public SymbolCapabilities()
-
SymbolCapabilities
public SymbolCapabilities(java.lang.Boolean dynamicRegistration)
-
SymbolCapabilities
public SymbolCapabilities(SymbolKindCapabilities symbolKind)
-
SymbolCapabilities
public SymbolCapabilities(SymbolKindCapabilities symbolKind, java.lang.Boolean dynamicRegistration)
-
-
Method Detail
-
getSymbolKind
public SymbolKindCapabilities getSymbolKind()
-
setSymbolKind
public void setSymbolKind(SymbolKindCapabilities symbolKind)
-
getTagSupport
public SymbolTagSupportCapabilities getTagSupport()
The client supports tags onSymbolInformation
andWorkspaceSymbol
. Clients supporting tags have to handle unknown tags gracefully.Since 3.16.0
-
setTagSupport
public void setTagSupport(SymbolTagSupportCapabilities tagSupport)
The client supports tags onSymbolInformation
andWorkspaceSymbol
. Clients supporting tags have to handle unknown tags gracefully.Since 3.16.0
-
getResolveSupport
public WorkspaceSymbolResolveSupportCapabilities getResolveSupport()
The client supports partial workspace symbols. The client will send the requestworkspaceSymbol/resolve
to the server to resolve additional properties.Since 3.17.0
-
setResolveSupport
public void setResolveSupport(WorkspaceSymbolResolveSupportCapabilities resolveSupport)
The client supports partial workspace symbols. The client will send the requestworkspaceSymbol/resolve
to the server to resolve additional properties.Since 3.17.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDynamicRegistrationCapabilities
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classDynamicRegistrationCapabilities
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDynamicRegistrationCapabilities
-
-