Record Class AtnBasedGenerator.GenerationResult
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.AtnBasedGenerator.GenerationResult
- Enclosing class:
AtnBasedGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionGenerationResult(List<AtnBasedGenerator.NamedSource> sources, Set<String> constructs, Set<String> controlFlow, List<Integer> paramCounts) Creates an instance of aGenerationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstructsrecord component.Returns the value of thecontrolFlowrecord 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 theparamCountsrecord component.sources()Returns the value of thesourcesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GenerationResult
public GenerationResult(List<AtnBasedGenerator.NamedSource> sources, Set<String> constructs, Set<String> controlFlow, List<Integer> paramCounts) Creates an instance of aGenerationResultrecord class.- Parameters:
sources- the value for thesourcesrecord componentconstructs- the value for theconstructsrecord componentcontrolFlow- the value for thecontrolFlowrecord componentparamCounts- the value for theparamCountsrecord 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). -
sources
Returns the value of thesourcesrecord component.- Returns:
- the value of the
sourcesrecord component
-
constructs
-
controlFlow
-
paramCounts
-