Record Class OptimizationDecisionsModel.ResolvedQuickenDecision
java.lang.Object
java.lang.Record
com.oracle.truffle.dsl.processor.bytecode.model.OptimizationDecisionsModel.ResolvedQuickenDecision
- Enclosing class:
OptimizationDecisionsModel
public static record OptimizationDecisionsModel.ResolvedQuickenDecision(OperationModel operation, List<SpecializationData> specializations, List<TypeMirror> types)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedQuickenDecision(OperationModel operation, List<SpecializationData> specializations, List<TypeMirror> types) Creates an instance of aResolvedQuickenDecisionrecord 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 theoperationrecord component.Returns the value of thespecializationsrecord component.final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord component.
-
Constructor Details
-
ResolvedQuickenDecision
public ResolvedQuickenDecision(OperationModel operation, List<SpecializationData> specializations, List<TypeMirror> types) Creates an instance of aResolvedQuickenDecisionrecord class.- Parameters:
operation- the value for theoperationrecord componentspecializations- the value for thespecializationsrecord componenttypes- the value for thetypesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
operation
Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-
specializations
Returns the value of thespecializationsrecord component.- Returns:
- the value of the
specializationsrecord component
-
types
Returns the value of thetypesrecord component.- Returns:
- the value of the
typesrecord component
-