Record Class TemplateMutationGenerator.MutationResult
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.TemplateMutationGenerator.MutationResult
- Enclosing class:
TemplateMutationGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionMutationResult(String mutatedSource, String mutationType) Creates an instance of aMutationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themutatedSourcerecord component.Returns the value of themutationTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MutationResult
-
-
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). -
mutatedSource
Returns the value of themutatedSourcerecord component.- Returns:
- the value of the
mutatedSourcerecord component
-
mutationType
Returns the value of themutationTyperecord component.- Returns:
- the value of the
mutationTyperecord component
-