Package ch.so.agi.gretl.doclet.lsp
Record Class LspMetadataSource
java.lang.Object
java.lang.Record
ch.so.agi.gretl.doclet.lsp.LspMetadataSource
-
Constructor Summary
ConstructorsConstructorDescriptionLspMetadataSource(String repository, String doclet, String commit) Creates an instance of aLspMetadataSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncommit()Returns the value of thecommitrecord component.doclet()Returns the value of thedocletrecord 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 therepositoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LspMetadataSource
Creates an instance of aLspMetadataSourcerecord class.- Parameters:
repository- the value for therepositoryrecord componentdoclet- the value for thedocletrecord componentcommit- the value for thecommitrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
repository
Returns the value of therepositoryrecord component.- Returns:
- the value of the
repositoryrecord component
-
doclet
Returns the value of thedocletrecord component.- Returns:
- the value of the
docletrecord component
-
commit
Returns the value of thecommitrecord component.- Returns:
- the value of the
commitrecord component
-