public class CodeActionCapabilities extends DynamicRegistrationCapabilities
Constructor and Description |
---|
CodeActionCapabilities() |
CodeActionCapabilities(java.lang.Boolean dynamicRegistration) |
CodeActionCapabilities(CodeActionLiteralSupportCapabilities codeActionLiteralSupport,
java.lang.Boolean dynamicRegistration) |
CodeActionCapabilities(CodeActionLiteralSupportCapabilities codeActionLiteralSupport,
java.lang.Boolean dynamicRegistration,
java.lang.Boolean isPreferredSupport) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CodeActionLiteralSupportCapabilities |
getCodeActionLiteralSupport()
The client support code action literals as a valid
response of the `textDocument/codeAction` request.
|
java.lang.Boolean |
getDataSupport()
Whether code action supports the
CodeAction.data property which is
preserved between a `textDocument/codeAction` and a
`codeAction/resolve` request. |
java.lang.Boolean |
getDisabledSupport()
Whether code action supports the
CodeAction.disabled property. |
java.lang.Boolean |
getHonorsChangeAnnotations()
Whether the client honors the change annotations in
text edits and resource operations returned via the
CodeAction.edit property by for example presenting
the workspace edit in the user interface and asking
for confirmation. |
java.lang.Boolean |
getIsPreferredSupport()
Whether code action supports the
CodeAction.isPreferred property. |
CodeActionResolveSupportCapabilities |
getResolveSupport()
Whether the client supports resolving additional code action
properties via a separate `codeAction/resolve` request.
|
int |
hashCode() |
void |
setCodeActionLiteralSupport(CodeActionLiteralSupportCapabilities codeActionLiteralSupport)
The client support code action literals as a valid
response of the `textDocument/codeAction` request.
|
void |
setDataSupport(java.lang.Boolean dataSupport)
Whether code action supports the
CodeAction.data property which is
preserved between a `textDocument/codeAction` and a
`codeAction/resolve` request. |
void |
setDisabledSupport(java.lang.Boolean disabledSupport)
Whether code action supports the
CodeAction.disabled property. |
void |
setHonorsChangeAnnotations(java.lang.Boolean honorsChangeAnnotations)
Whether the client honors the change annotations in
text edits and resource operations returned via the
CodeAction.edit property by for example presenting
the workspace edit in the user interface and asking
for confirmation. |
void |
setIsPreferredSupport(java.lang.Boolean isPreferredSupport)
Whether code action supports the
CodeAction.isPreferred property. |
void |
setResolveSupport(CodeActionResolveSupportCapabilities resolveSupport)
Whether the client supports resolving additional code action
properties via a separate `codeAction/resolve` request.
|
java.lang.String |
toString() |
getDynamicRegistration, setDynamicRegistration
public CodeActionCapabilities()
public CodeActionCapabilities(java.lang.Boolean dynamicRegistration)
public CodeActionCapabilities(CodeActionLiteralSupportCapabilities codeActionLiteralSupport, java.lang.Boolean dynamicRegistration)
public CodeActionCapabilities(CodeActionLiteralSupportCapabilities codeActionLiteralSupport, java.lang.Boolean dynamicRegistration, java.lang.Boolean isPreferredSupport)
@Pure public CodeActionLiteralSupportCapabilities getCodeActionLiteralSupport()
public void setCodeActionLiteralSupport(CodeActionLiteralSupportCapabilities codeActionLiteralSupport)
@Pure public java.lang.Boolean getIsPreferredSupport()
CodeAction.isPreferred
property.
Since 3.15.0
public void setIsPreferredSupport(java.lang.Boolean isPreferredSupport)
CodeAction.isPreferred
property.
Since 3.15.0
@Pure public java.lang.Boolean getDisabledSupport()
CodeAction.disabled
property.
Since 3.16.0
public void setDisabledSupport(java.lang.Boolean disabledSupport)
CodeAction.disabled
property.
Since 3.16.0
@Pure public java.lang.Boolean getDataSupport()
CodeAction.data
property which is
preserved between a `textDocument/codeAction` and a
`codeAction/resolve` request.
Since 3.16.0
public void setDataSupport(java.lang.Boolean dataSupport)
CodeAction.data
property which is
preserved between a `textDocument/codeAction` and a
`codeAction/resolve` request.
Since 3.16.0
@Pure public CodeActionResolveSupportCapabilities getResolveSupport()
Since 3.16.0
public void setResolveSupport(CodeActionResolveSupportCapabilities resolveSupport)
Since 3.16.0
@Pure public java.lang.Boolean getHonorsChangeAnnotations()
CodeAction.edit
property by for example presenting
the workspace edit in the user interface and asking
for confirmation.
Since 3.16.0
public void setHonorsChangeAnnotations(java.lang.Boolean honorsChangeAnnotations)
CodeAction.edit
property by for example presenting
the workspace edit in the user interface and asking
for confirmation.
Since 3.16.0
@Pure public java.lang.String toString()
toString
in class DynamicRegistrationCapabilities
@Pure public boolean equals(java.lang.Object obj)
equals
in class DynamicRegistrationCapabilities
@Pure public int hashCode()
hashCode
in class DynamicRegistrationCapabilities