Package org.eclipse.lsp4j
Class RenameCapabilities
- java.lang.Object
-
- org.eclipse.lsp4j.DynamicRegistrationCapabilities
-
- org.eclipse.lsp4j.RenameCapabilities
-
public class RenameCapabilities extends DynamicRegistrationCapabilities
Capabilities specific to the `textDocument/rename`
-
-
Constructor Summary
Constructors Constructor Description RenameCapabilities()RenameCapabilities(java.lang.Boolean dynamicRegistration)RenameCapabilities(java.lang.Boolean prepareSupport, java.lang.Boolean dynamicRegistration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.BooleangetHonorsChangeAnnotations()Whether the client honors the change annotations in text edits and resource operations returned via the rename request's workspace edit by for example presenting the workspace edit in the user interface and asking for confirmation.java.lang.BooleangetPrepareSupport()Client supports testing for validity of rename operations before execution.PrepareSupportDefaultBehaviorgetPrepareSupportDefaultBehavior()Client supports the default behavior result ({ defaultBehavior: boolean }).inthashCode()voidsetHonorsChangeAnnotations(java.lang.Boolean honorsChangeAnnotations)Whether the client honors the change annotations in text edits and resource operations returned via the rename request's workspace edit by for example presenting the workspace edit in the user interface and asking for confirmation.voidsetPrepareSupport(java.lang.Boolean prepareSupport)Client supports testing for validity of rename operations before execution.voidsetPrepareSupportDefaultBehavior(PrepareSupportDefaultBehavior prepareSupportDefaultBehavior)Client supports the default behavior result ({ defaultBehavior: boolean }).java.lang.StringtoString()-
Methods inherited from class org.eclipse.lsp4j.DynamicRegistrationCapabilities
getDynamicRegistration, setDynamicRegistration
-
-
-
-
Method Detail
-
getPrepareSupport
public java.lang.Boolean getPrepareSupport()
Client supports testing for validity of rename operations before execution.Since 3.12.0
-
setPrepareSupport
public void setPrepareSupport(java.lang.Boolean prepareSupport)
Client supports testing for validity of rename operations before execution.Since 3.12.0
-
getPrepareSupportDefaultBehavior
public PrepareSupportDefaultBehavior getPrepareSupportDefaultBehavior()
Client supports the default behavior result ({ defaultBehavior: boolean }).The value indicates the default behavior used by the client.
Since 3.16.0
-
setPrepareSupportDefaultBehavior
public void setPrepareSupportDefaultBehavior(PrepareSupportDefaultBehavior prepareSupportDefaultBehavior)
Client supports the default behavior result ({ defaultBehavior: boolean }).The value indicates the default behavior used by the client.
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 the rename request's workspace edit 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 the rename request's workspace edit 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
-
-