Package org.eclipse.lsp4j
Class SignatureHelpParams
- java.lang.Object
-
- org.eclipse.lsp4j.TextDocumentPositionParams
-
- org.eclipse.lsp4j.TextDocumentPositionAndWorkDoneProgressParams
-
- org.eclipse.lsp4j.SignatureHelpParams
-
- All Implemented Interfaces:
WorkDoneProgressParams
public class SignatureHelpParams extends TextDocumentPositionAndWorkDoneProgressParams
The signature help request is sent from the client to the server to request signature information at a given cursor position.
-
-
Constructor Summary
Constructors Constructor Description SignatureHelpParams()
SignatureHelpParams(TextDocumentIdentifier textDocument, Position position)
SignatureHelpParams(TextDocumentIdentifier textDocument, Position position, SignatureHelpContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
SignatureHelpContext
getContext()
The signature help context.int
hashCode()
void
setContext(SignatureHelpContext context)
The signature help context.java.lang.String
toString()
-
Methods inherited from class org.eclipse.lsp4j.TextDocumentPositionAndWorkDoneProgressParams
getWorkDoneToken, setWorkDoneToken, setWorkDoneToken, setWorkDoneToken
-
Methods inherited from class org.eclipse.lsp4j.TextDocumentPositionParams
getPosition, getTextDocument, setPosition, setTextDocument
-
-
-
-
Constructor Detail
-
SignatureHelpParams
public SignatureHelpParams()
-
SignatureHelpParams
public SignatureHelpParams(TextDocumentIdentifier textDocument, Position position)
-
SignatureHelpParams
public SignatureHelpParams(TextDocumentIdentifier textDocument, Position position, SignatureHelpContext context)
-
-
Method Detail
-
getContext
public SignatureHelpContext getContext()
The signature help context. This is only available if the client specifies to send this using the client capabilitySignatureHelpCapabilities.contextSupport
as true.Since 3.15.0
-
setContext
public void setContext(SignatureHelpContext context)
The signature help context. This is only available if the client specifies to send this using the client capabilitySignatureHelpCapabilities.contextSupport
as true.Since 3.15.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classTextDocumentPositionAndWorkDoneProgressParams
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classTextDocumentPositionAndWorkDoneProgressParams
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTextDocumentPositionAndWorkDoneProgressParams
-
-