public class PublishDiagnosticsCapabilities
extends java.lang.Object
| Constructor and Description |
|---|
PublishDiagnosticsCapabilities() |
PublishDiagnosticsCapabilities(java.lang.Boolean relatedInformation) |
PublishDiagnosticsCapabilities(java.lang.Boolean relatedInformation,
DiagnosticsTagSupport tagSupport) |
PublishDiagnosticsCapabilities(java.lang.Boolean relatedInformation,
DiagnosticsTagSupport tagSupport,
java.lang.Boolean versionSupport) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCodeDescriptionSupport()
Client supports a codeDescription property
Since 3.16.0
|
java.lang.Boolean |
getDataSupport()
Whether code action supports the
Diagnostic.data property which is
preserved between a `textDocument/publishDiagnostics` and
`textDocument/codeAction` request. |
java.lang.Boolean |
getRelatedInformation()
Whether the client accepts diagnostics with related information.
|
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,DiagnosticsTagSupport> |
getTagSupport()
Client supports the tag property to provide meta data about a diagnostic.
|
java.lang.Boolean |
getVersionSupport()
Whether the client interprets the version property of the
`textDocument/publishDiagnostics` notification's parameter.
|
int |
hashCode() |
void |
setCodeDescriptionSupport(java.lang.Boolean codeDescriptionSupport)
Client supports a codeDescription property
Since 3.16.0
|
void |
setDataSupport(java.lang.Boolean dataSupport)
Whether code action supports the
Diagnostic.data property which is
preserved between a `textDocument/publishDiagnostics` and
`textDocument/codeAction` request. |
void |
setRelatedInformation(java.lang.Boolean relatedInformation)
Whether the client accepts diagnostics with related information.
|
void |
setTagSupport(java.lang.Boolean tagSupport) |
void |
setTagSupport(DiagnosticsTagSupport tagSupport) |
void |
setTagSupport(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,DiagnosticsTagSupport> tagSupport)
Client supports the tag property to provide meta data about a diagnostic.
|
void |
setVersionSupport(java.lang.Boolean versionSupport)
Whether the client interprets the version property of the
`textDocument/publishDiagnostics` notification's parameter.
|
java.lang.String |
toString() |
public PublishDiagnosticsCapabilities()
public PublishDiagnosticsCapabilities(java.lang.Boolean relatedInformation)
public PublishDiagnosticsCapabilities(java.lang.Boolean relatedInformation,
DiagnosticsTagSupport tagSupport)
public PublishDiagnosticsCapabilities(java.lang.Boolean relatedInformation,
DiagnosticsTagSupport tagSupport,
java.lang.Boolean versionSupport)
@Pure public java.lang.Boolean getRelatedInformation()
public void setRelatedInformation(java.lang.Boolean relatedInformation)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,DiagnosticsTagSupport> getTagSupport()
DiagnosticsTagSupport. In order to
keep this implementation compatible with intermediate clients (including
vscode-language-client < 6.0.0) we add an either type here.
Since 3.15public void setTagSupport(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,DiagnosticsTagSupport> tagSupport)
DiagnosticsTagSupport. In order to
keep this implementation compatible with intermediate clients (including
vscode-language-client < 6.0.0) we add an either type here.
Since 3.15public void setTagSupport(java.lang.Boolean tagSupport)
public void setTagSupport(DiagnosticsTagSupport tagSupport)
@Pure public java.lang.Boolean getVersionSupport()
public void setVersionSupport(java.lang.Boolean versionSupport)
@Pure public java.lang.Boolean getCodeDescriptionSupport()
public void setCodeDescriptionSupport(java.lang.Boolean codeDescriptionSupport)
@Pure public java.lang.Boolean getDataSupport()
Diagnostic.data property which is
preserved between a `textDocument/publishDiagnostics` and
`textDocument/codeAction` request.
Since 3.16.0public void setDataSupport(java.lang.Boolean dataSupport)
Diagnostic.data property which is
preserved between a `textDocument/publishDiagnostics` and
`textDocument/codeAction` request.
Since 3.16.0@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object