Package org.eclipse.lsp4j
Class CodeLensParams
- java.lang.Object
-
- org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
-
- org.eclipse.lsp4j.CodeLensParams
-
- All Implemented Interfaces:
PartialResultParams
,WorkDoneProgressParams
public class CodeLensParams extends WorkDoneProgressAndPartialResultParams
The code lens request is sent from the client to the server to compute code lenses for a given text document.
-
-
Constructor Summary
Constructors Constructor Description CodeLensParams()
CodeLensParams(TextDocumentIdentifier textDocument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
TextDocumentIdentifier
getTextDocument()
The document to request code lens for.int
hashCode()
void
setTextDocument(TextDocumentIdentifier textDocument)
The document to request code lens for.java.lang.String
toString()
-
Methods inherited from class org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
getPartialResultToken, getWorkDoneToken, setPartialResultToken, setPartialResultToken, setPartialResultToken, setWorkDoneToken, setWorkDoneToken, setWorkDoneToken
-
-
-
-
Constructor Detail
-
CodeLensParams
public CodeLensParams()
-
CodeLensParams
public CodeLensParams(TextDocumentIdentifier textDocument)
-
-
Method Detail
-
getTextDocument
public TextDocumentIdentifier getTextDocument()
The document to request code lens for.
-
setTextDocument
public void setTextDocument(TextDocumentIdentifier textDocument)
The document to request code lens for.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classWorkDoneProgressAndPartialResultParams
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classWorkDoneProgressAndPartialResultParams
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classWorkDoneProgressAndPartialResultParams
-
-