Package org.eclipse.lsp4j
Class CodeActionOptions
- java.lang.Object
-
- org.eclipse.lsp4j.AbstractWorkDoneProgressOptions
-
- org.eclipse.lsp4j.CodeActionOptions
-
- All Implemented Interfaces:
WorkDoneProgressOptions
public class CodeActionOptions extends AbstractWorkDoneProgressOptions
Code Action options.
-
-
Constructor Summary
Constructors Constructor Description CodeActionOptions()
CodeActionOptions(java.util.List<java.lang.String> codeActionKinds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<java.lang.String>
getCodeActionKinds()
CodeActionKinds that this server may return.java.lang.Boolean
getResolveProvider()
The server provides support to resolve additional information for a code action.int
hashCode()
void
setCodeActionKinds(java.util.List<java.lang.String> codeActionKinds)
CodeActionKinds that this server may return.void
setResolveProvider(java.lang.Boolean resolveProvider)
The server provides support to resolve additional information for a code action.java.lang.String
toString()
-
Methods inherited from class org.eclipse.lsp4j.AbstractWorkDoneProgressOptions
getWorkDoneProgress, setWorkDoneProgress
-
-
-
-
Method Detail
-
getCodeActionKinds
public java.util.List<java.lang.String> getCodeActionKinds()
CodeActionKinds that this server may return.The list of kinds may be generic, such as
CodeActionKind.Refactor
, or the server may list out every specific kind they provide.Since 3.11.0
-
setCodeActionKinds
public void setCodeActionKinds(java.util.List<java.lang.String> codeActionKinds)
CodeActionKinds that this server may return.The list of kinds may be generic, such as
CodeActionKind.Refactor
, or the server may list out every specific kind they provide.Since 3.11.0
-
getResolveProvider
public java.lang.Boolean getResolveProvider()
The server provides support to resolve additional information for a code action.Since 3.16.0
-
setResolveProvider
public void setResolveProvider(java.lang.Boolean resolveProvider)
The server provides support to resolve additional information for a code action.Since 3.16.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractWorkDoneProgressOptions
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classAbstractWorkDoneProgressOptions
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractWorkDoneProgressOptions
-
-