Record Class CompileClassifier.CompileResult
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.CompileClassifier.CompileResult
- Enclosing class:
CompileClassifier
static record CompileClassifier.CompileResult(List<CompileClassifier.DuplicateInfo> duplicates, CompilationPhase deepestPhase)
extends Record
Result of a compilation: duplicate info plus the deepest phase reached.
-
Constructor Summary
ConstructorsConstructorDescriptionCompileResult(List<CompileClassifier.DuplicateInfo> duplicates, CompilationPhase deepestPhase) Creates an instance of aCompileResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeepestPhaserecord component.Returns the value of theduplicatesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CompileResult
CompileResult(List<CompileClassifier.DuplicateInfo> duplicates, CompilationPhase deepestPhase) Creates an instance of aCompileResultrecord class.- Parameters:
duplicates- the value for theduplicatesrecord componentdeepestPhase- the value for thedeepestPhaserecord 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). -
duplicates
Returns the value of theduplicatesrecord component.- Returns:
- the value of the
duplicatesrecord component
-
deepestPhase
Returns the value of thedeepestPhaserecord component.- Returns:
- the value of the
deepestPhaserecord component
-