Package ch.so.agi.gretl.doclet.lsp
Record Class LspAcceptedForm
java.lang.Object
java.lang.Record
ch.so.agi.gretl.doclet.lsp.LspAcceptedForm
-
Constructor Summary
ConstructorsConstructorDescriptionLspAcceptedForm(String style, String signature, String insertText, Integer argumentCount, boolean legacy) Creates an instance of aLspAcceptedFormrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentCountrecord 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.booleanlegacy()Returns the value of thelegacyrecord component.Returns the value of thesignaturerecord component.style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LspAcceptedForm
public LspAcceptedForm(String style, String signature, String insertText, Integer argumentCount, boolean legacy) Creates an instance of aLspAcceptedFormrecord class.- Parameters:
style- the value for thestylerecord componentsignature- the value for thesignaturerecord componentinsertText- the value for theinsertTextrecord componentargumentCount- the value for theargumentCountrecord componentlegacy- the value for thelegacyrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-
signature
Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-
insertText
Returns the value of theinsertTextrecord component.- Returns:
- the value of the
insertTextrecord component
-
argumentCount
Returns the value of theargumentCountrecord component.- Returns:
- the value of the
argumentCountrecord component
-
legacy
public boolean legacy()Returns the value of thelegacyrecord component.- Returns:
- the value of the
legacyrecord component
-