public class SignatureHelp
extends java.lang.Object
| Constructor and Description |
|---|
SignatureHelp() |
SignatureHelp(java.util.List<SignatureInformation> signatures,
java.lang.Integer activeSignature,
java.lang.Integer activeParameter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getActiveParameter()
The active parameter of the active signature.
|
java.lang.Integer |
getActiveSignature()
The active signature.
|
java.util.List<SignatureInformation> |
getSignatures()
One or more signatures.
|
int |
hashCode() |
void |
setActiveParameter(java.lang.Integer activeParameter)
The active parameter of the active signature.
|
void |
setActiveSignature(java.lang.Integer activeSignature)
The active signature.
|
void |
setSignatures(java.util.List<SignatureInformation> signatures)
One or more signatures.
|
java.lang.String |
toString() |
public SignatureHelp()
public SignatureHelp(java.util.List<SignatureInformation> signatures, java.lang.Integer activeSignature, java.lang.Integer activeParameter)
@Pure public java.util.List<SignatureInformation> getSignatures()
public void setSignatures(java.util.List<SignatureInformation> signatures)
@Pure public java.lang.Integer getActiveSignature()
signatures the value defaults to zero or is ignored if
the SignatureHelp has no signatures. Whenever possible implementors should
make an active decision about the active signature and shouldn't
rely on a default value.
In future version of the protocol this property might become mandatory to better express this.
public void setActiveSignature(java.lang.Integer activeSignature)
signatures the value defaults to zero or is ignored if
the SignatureHelp has no signatures. Whenever possible implementors should
make an active decision about the active signature and shouldn't
rely on a default value.
In future version of the protocol this property might become mandatory to better express this.
@Pure public java.lang.Integer getActiveParameter()
signatures[activeSignature].parameters
defaults to 0 if the active signature has parameters. If
the active signature has no parameters it is ignored.
In future version of the protocol this property might become mandatory to better express the active parameter if the active signature does have any.
public void setActiveParameter(java.lang.Integer activeParameter)
signatures[activeSignature].parameters
defaults to 0 if the active signature has parameters. If
the active signature has no parameters it is ignored.
In future version of the protocol this property might become mandatory to better express the active parameter if the active signature does have any.
@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