Record Class QaCorpusLoader.FileTargetedMutations
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.QaCorpusLoader.FileTargetedMutations
- Enclosing class:
QaCorpusLoader
static record QaCorpusLoader.FileTargetedMutations(String filename, String originalSource, List<TypicalError> typicalErrors)
extends Record
A Q&A file paired with its original source and the typical-error mutations to apply.
-
Constructor Summary
ConstructorsConstructorDescriptionFileTargetedMutations(String filename, String originalSource, List<TypicalError> typicalErrors) Creates an instance of aFileTargetedMutationsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.filename()Returns the value of thefilenamerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoriginalSourcerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetypicalErrorsrecord component.
-
Constructor Details
-
FileTargetedMutations
FileTargetedMutations(String filename, String originalSource, List<TypicalError> typicalErrors) Creates an instance of aFileTargetedMutationsrecord class.- Parameters:
filename- the value for thefilenamerecord componentoriginalSource- the value for theoriginalSourcerecord componenttypicalErrors- the value for thetypicalErrorsrecord 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). -
filename
Returns the value of thefilenamerecord component.- Returns:
- the value of the
filenamerecord component
-
originalSource
Returns the value of theoriginalSourcerecord component.- Returns:
- the value of the
originalSourcerecord component
-
typicalErrors
Returns the value of thetypicalErrorsrecord component.- Returns:
- the value of the
typicalErrorsrecord component
-