Class SignatureInformation
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.SignatureInformation
Represents the signature of something callable. A signature can have a label, like a
function-name, a doc-comment, and a set of parameters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureInformationcreate(String label, String documentation, ParameterInformation... parameters) booleanThe human-readable doc-comment of this signature.getLabel()The label of this signature.The parameters of this signature.inthashCode()setDocumentation(Object documentation) setParameters(List<ParameterInformation> parameters)
-
Method Details
-
getLabel
The label of this signature. Will be shown in the UI. -
setLabel
-
getDocumentation
The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted. -
setDocumentation
-
getParameters
The parameters of this signature. -
setParameters
-
equals
-
hashCode
public int hashCode() -
create
public static SignatureInformation create(String label, String documentation, ParameterInformation... parameters)
-