public class ParameterInformation
extends java.lang.Object
Constructor and Description |
---|
ParameterInformation() |
ParameterInformation(java.lang.String label) |
ParameterInformation(java.lang.String label,
MarkupContent documentation) |
ParameterInformation(java.lang.String label,
java.lang.String documentation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkupContent> |
getDocumentation()
The human-readable doc-comment of this signature.
|
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two<java.lang.Integer,java.lang.Integer>> |
getLabel()
The label of this parameter information.
|
int |
hashCode() |
void |
setDocumentation(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkupContent> documentation)
The human-readable doc-comment of this signature.
|
void |
setDocumentation(MarkupContent documentation) |
void |
setDocumentation(java.lang.String documentation) |
void |
setLabel(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two<java.lang.Integer,java.lang.Integer>> label)
The label of this parameter information.
|
void |
setLabel(java.lang.String label) |
void |
setLabel(org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two<java.lang.Integer,java.lang.Integer> label) |
java.lang.String |
toString() |
public ParameterInformation()
public ParameterInformation(java.lang.String label)
public ParameterInformation(java.lang.String label, java.lang.String documentation)
public ParameterInformation(java.lang.String label, MarkupContent documentation)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two<java.lang.Integer,java.lang.Integer>> getLabel()
Either a string or an inclusive start and exclusive end offsets within its containing
signature label (see SignatureInformation.label
). The offsets are based on a UTF-16
string representation as Position
and Range
does.
Note: a label of type string should be a substring of its containing signature label.
Its intended use case is to highlight the parameter label part in the SignatureInformation.label
.
public void setLabel(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two<java.lang.Integer,java.lang.Integer>> label)
Either a string or an inclusive start and exclusive end offsets within its containing
signature label (see SignatureInformation.label
). The offsets are based on a UTF-16
string representation as Position
and Range
does.
Note: a label of type string should be a substring of its containing signature label.
Its intended use case is to highlight the parameter label part in the SignatureInformation.label
.
public void setLabel(java.lang.String label)
public void setLabel(org.eclipse.lsp4j.jsonrpc.messages.Tuple.Two<java.lang.Integer,java.lang.Integer> label)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkupContent> getDocumentation()
public void setDocumentation(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,MarkupContent> documentation)
public void setDocumentation(java.lang.String documentation)
public void setDocumentation(MarkupContent documentation)
@Pure public java.lang.String toString()
toString
in class java.lang.Object
@Pure public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object