Record Class UserTestGenerator.TestCandidate
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.UserTestGenerator.TestCandidate
- Enclosing class:
UserTestGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionTestCandidate(String functionName, String source, String description) Creates an instance of aTestCandidaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionNamerecord component.final inthashCode()Returns a hash code value for this object.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TestCandidate
Creates an instance of aTestCandidaterecord class.- Parameters:
functionName- the value for thefunctionNamerecord componentsource- the value for thesourcerecord componentdescription- the value for thedescriptionrecord 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). -
functionName
Returns the value of thefunctionNamerecord component.- Returns:
- the value of the
functionNamerecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-