Record Class ScriptLanguageService.CodeAction
java.lang.Object
java.lang.Record
de.gurkenlabs.litiengine.scripting.ScriptLanguageService.CodeAction
- Enclosing interface:
ScriptLanguageService
public static record ScriptLanguageService.CodeAction(String title, String kind, List<ScriptLanguageService.TextEdit> edits)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCodeAction(String title, String kind, List<ScriptLanguageService.TextEdit> edits) Creates an instance of aCodeActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionedits()Returns the value of theeditsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CodeAction
Creates an instance of aCodeActionrecord class.- Parameters:
title- the value for thetitlerecord componentkind- the value for thekindrecord componentedits- the value for theeditsrecord 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). -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
edits
Returns the value of theeditsrecord component.- Returns:
- the value of the
editsrecord component
-