Record Class Ir.Options
java.lang.Object
java.lang.Record
org.clafer.frontend.Ir.Options
- Record Components:
core- whether the model is an explicit core model,--coretraceLength- the trace length of a temporal model,--tl=N
- Enclosing class:
Ir
The options of the first line,
//# OPTIONS --explicit, as the
compiler writes them.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Ir.OptionsThe options of a static rich explicit model. -
Constructor Summary
ConstructorsConstructorDescriptionOptions(boolean core, OptionalInt traceLength) Creates an instance of aOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleancore()Returns the value of thecorerecord 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.Returns the value of thetraceLengthrecord component.
-
Field Details
-
Rich
The options of a static rich explicit model.
-
-
Constructor Details
-
Options
Creates an instance of aOptionsrecord class.- Parameters:
core- the value for thecorerecord componenttraceLength- the value for thetraceLengthrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
core
-
traceLength
Returns the value of thetraceLengthrecord component.- Returns:
- the value of the
traceLengthrecord component
-