Record Class ScriptLanguageService.SignatureHelp
java.lang.Object
java.lang.Record
de.gurkenlabs.litiengine.scripting.ScriptLanguageService.SignatureHelp
- Enclosing interface:
ScriptLanguageService
public static record ScriptLanguageService.SignatureHelp(List<ScriptLanguageService.Signature> signatures, int activeSignature, int activeParameter)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureHelp(List<ScriptLanguageService.Signature> signatures, int activeSignature, int activeParameter) Creates an instance of aSignatureHelprecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theactiveParameterrecord component.intReturns the value of theactiveSignaturerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesignaturesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SignatureHelp
public SignatureHelp(List<ScriptLanguageService.Signature> signatures, int activeSignature, int activeParameter) Creates an instance of aSignatureHelprecord class.- Parameters:
signatures- the value for thesignaturesrecord componentactiveSignature- the value for theactiveSignaturerecord componentactiveParameter- the value for theactiveParameterrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
signatures
Returns the value of thesignaturesrecord component.- Returns:
- the value of the
signaturesrecord component
-
activeSignature
public int activeSignature()Returns the value of theactiveSignaturerecord component.- Returns:
- the value of the
activeSignaturerecord component
-
activeParameter
public int activeParameter()Returns the value of theactiveParameterrecord component.- Returns:
- the value of the
activeParameterrecord component
-