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 booleanequals(java.lang.Object obj)TextDocumentIdentifiergetTextDocument()The document to request code lens for.inthashCode()voidsetTextDocument(TextDocumentIdentifier textDocument)The document to request code lens for.java.lang.StringtoString()-
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:
toStringin classWorkDoneProgressAndPartialResultParams
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classWorkDoneProgressAndPartialResultParams
-
hashCode
public int hashCode()
- Overrides:
hashCodein classWorkDoneProgressAndPartialResultParams
-
-