Package org.eclipse.lsp4j
Class CodeActionCapabilities
- java.lang.Object
-
- org.eclipse.lsp4j.DynamicRegistrationCapabilities
-
- org.eclipse.lsp4j.CodeActionCapabilities
-
public class CodeActionCapabilities extends DynamicRegistrationCapabilities
Capabilities specific to the `textDocument/codeAction`
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CodeActionLiteralSupportCapabilitiesgetCodeActionLiteralSupport()The client support code action literals as a valid response of the `textDocument/codeAction` request.java.lang.BooleangetDataSupport()Whether code action supports theCodeAction.dataproperty which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.java.lang.BooleangetDisabledSupport()Whether code action supports theCodeAction.disabledproperty.java.lang.BooleangetHonorsChangeAnnotations()Whether the client honors the change annotations in text edits and resource operations returned via theCodeAction.editproperty by for example presenting the workspace edit in the user interface and asking for confirmation.java.lang.BooleangetIsPreferredSupport()Whether code action supports theCodeAction.isPreferredproperty.CodeActionResolveSupportCapabilitiesgetResolveSupport()Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.inthashCode()voidsetCodeActionLiteralSupport(CodeActionLiteralSupportCapabilities codeActionLiteralSupport)The client support code action literals as a valid response of the `textDocument/codeAction` request.voidsetDataSupport(java.lang.Boolean dataSupport)Whether code action supports theCodeAction.dataproperty which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.voidsetDisabledSupport(java.lang.Boolean disabledSupport)Whether code action supports theCodeAction.disabledproperty.voidsetHonorsChangeAnnotations(java.lang.Boolean honorsChangeAnnotations)Whether the client honors the change annotations in text edits and resource operations returned via theCodeAction.editproperty by for example presenting the workspace edit in the user interface and asking for confirmation.voidsetIsPreferredSupport(java.lang.Boolean isPreferredSupport)Whether code action supports theCodeAction.isPreferredproperty.voidsetResolveSupport(CodeActionResolveSupportCapabilities resolveSupport)Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.java.lang.StringtoString()-
Methods inherited from class org.eclipse.lsp4j.DynamicRegistrationCapabilities
getDynamicRegistration, setDynamicRegistration
-
-
-
-
Constructor Detail
-
CodeActionCapabilities
public CodeActionCapabilities()
-
CodeActionCapabilities
public CodeActionCapabilities(java.lang.Boolean dynamicRegistration)
-
CodeActionCapabilities
public CodeActionCapabilities(CodeActionLiteralSupportCapabilities codeActionLiteralSupport, java.lang.Boolean dynamicRegistration)
-
CodeActionCapabilities
public CodeActionCapabilities(CodeActionLiteralSupportCapabilities codeActionLiteralSupport, java.lang.Boolean dynamicRegistration, java.lang.Boolean isPreferredSupport)
-
-
Method Detail
-
getCodeActionLiteralSupport
public CodeActionLiteralSupportCapabilities getCodeActionLiteralSupport()
The client support code action literals as a valid response of the `textDocument/codeAction` request.
-
setCodeActionLiteralSupport
public void setCodeActionLiteralSupport(CodeActionLiteralSupportCapabilities codeActionLiteralSupport)
The client support code action literals as a valid response of the `textDocument/codeAction` request.
-
getIsPreferredSupport
public java.lang.Boolean getIsPreferredSupport()
Whether code action supports theCodeAction.isPreferredproperty.Since 3.15.0
-
setIsPreferredSupport
public void setIsPreferredSupport(java.lang.Boolean isPreferredSupport)
Whether code action supports theCodeAction.isPreferredproperty.Since 3.15.0
-
getDisabledSupport
public java.lang.Boolean getDisabledSupport()
Whether code action supports theCodeAction.disabledproperty.Since 3.16.0
-
setDisabledSupport
public void setDisabledSupport(java.lang.Boolean disabledSupport)
Whether code action supports theCodeAction.disabledproperty.Since 3.16.0
-
getDataSupport
public java.lang.Boolean getDataSupport()
Whether code action supports theCodeAction.dataproperty which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.Since 3.16.0
-
setDataSupport
public void setDataSupport(java.lang.Boolean dataSupport)
Whether code action supports theCodeAction.dataproperty which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.Since 3.16.0
-
getResolveSupport
public CodeActionResolveSupportCapabilities getResolveSupport()
Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.Since 3.16.0
-
setResolveSupport
public void setResolveSupport(CodeActionResolveSupportCapabilities resolveSupport)
Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.Since 3.16.0
-
getHonorsChangeAnnotations
public java.lang.Boolean getHonorsChangeAnnotations()
Whether the client honors the change annotations in text edits and resource operations returned via theCodeAction.editproperty by for example presenting the workspace edit in the user interface and asking for confirmation.Since 3.16.0
-
setHonorsChangeAnnotations
public void setHonorsChangeAnnotations(java.lang.Boolean honorsChangeAnnotations)
Whether the client honors the change annotations in text edits and resource operations returned via theCodeAction.editproperty by for example presenting the workspace edit in the user interface and asking for confirmation.Since 3.16.0
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDynamicRegistrationCapabilities
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classDynamicRegistrationCapabilities
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDynamicRegistrationCapabilities
-
-