Record Class CallDetailsBuilder.CallDetailsResult
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.calls.CallDetailsBuilder.CallDetailsResult
- Enclosing class:
CallDetailsBuilder
public static record CallDetailsBuilder.CallDetailsResult(CallDetails callDetails, List<IRInstr> allInstructions)
extends Record
Result of building CallDetails including any promotion instructions needed.
-
Constructor Summary
ConstructorsConstructorDescriptionCallDetailsResult(CallDetails callDetails, List<IRInstr> allInstructions) Creates an instance of aCallDetailsResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallInstructionsrecord component.Returns the value of thecallDetailsrecord 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
-
CallDetailsResult
Creates an instance of aCallDetailsResultrecord class.- Parameters:
callDetails- the value for thecallDetailsrecord componentallInstructions- the value for theallInstructionsrecord 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). -
callDetails
Returns the value of thecallDetailsrecord component.- Returns:
- the value of the
callDetailsrecord component
-
allInstructions
-