Record Class ScriptLanguageService.Completion
java.lang.Object
java.lang.Record
de.gurkenlabs.litiengine.scripting.ScriptLanguageService.Completion
- Enclosing interface:
ScriptLanguageService
public static record ScriptLanguageService.Completion(String label, ScriptLanguageService.CompletionKind kind, String detail, String documentation, String insertText, String returnType, List<ScriptLanguageService.Parameter> parameters, List<ScriptLanguageService.TextEdit> additionalEdits)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCompletion(String label, ScriptLanguageService.CompletionKind kind, String detail, String documentation, String insertText, String returnType, List<ScriptLanguageService.Parameter> parameters, List<ScriptLanguageService.TextEdit> additionalEdits) Creates an instance of aCompletionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalEditsrecord component.detail()Returns the value of thedetailrecord component.Returns the value of thedocumentationrecord 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 theinsertTextrecord component.kind()Returns the value of thekindrecord component.label()Returns the value of thelabelrecord component.Returns the value of theparametersrecord component.Returns the value of thereturnTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Completion
public Completion(String label, ScriptLanguageService.CompletionKind kind, String detail, String documentation, String insertText, String returnType, List<ScriptLanguageService.Parameter> parameters, List<ScriptLanguageService.TextEdit> additionalEdits) Creates an instance of aCompletionrecord class.- Parameters:
label- the value for thelabelrecord componentkind- the value for thekindrecord componentdetail- the value for thedetailrecord componentdocumentation- the value for thedocumentationrecord componentinsertText- the value for theinsertTextrecord componentreturnType- the value for thereturnTyperecord componentparameters- the value for theparametersrecord componentadditionalEdits- the value for theadditionalEditsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
detail
Returns the value of thedetailrecord component.- Returns:
- the value of the
detailrecord component
-
documentation
Returns the value of thedocumentationrecord component.- Returns:
- the value of the
documentationrecord component
-
insertText
Returns the value of theinsertTextrecord component.- Returns:
- the value of the
insertTextrecord component
-
returnType
Returns the value of thereturnTyperecord component.- Returns:
- the value of the
returnTyperecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-
additionalEdits
Returns the value of theadditionalEditsrecord component.- Returns:
- the value of the
additionalEditsrecord component
-