Record Class DataClumpTracker.SignatureRecord
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase5.DataClumpTracker.SignatureRecord
- Enclosing class:
DataClumpTracker
static record DataClumpTracker.SignatureRecord(Set<DataClumpTracker.ParamPair> paramPairs, String callableName, IToken sourceToken)
extends Record
One callable's parameter signature for data clump analysis.
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureRecord(Set<DataClumpTracker.ParamPair> paramPairs, String callableName, IToken sourceToken) Creates an instance of aSignatureRecordrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecallableNamerecord 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 theparamPairsrecord component.Returns the value of thesourceTokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SignatureRecord
SignatureRecord(Set<DataClumpTracker.ParamPair> paramPairs, String callableName, IToken sourceToken) Creates an instance of aSignatureRecordrecord class.- Parameters:
paramPairs- the value for theparamPairsrecord componentcallableName- the value for thecallableNamerecord componentsourceToken- the value for thesourceTokenrecord 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). -
paramPairs
Returns the value of theparamPairsrecord component.- Returns:
- the value of the
paramPairsrecord component
-
callableName
Returns the value of thecallableNamerecord component.- Returns:
- the value of the
callableNamerecord component
-
sourceToken
Returns the value of thesourceTokenrecord component.- Returns:
- the value of the
sourceTokenrecord component
-