Record Class VariableDetails
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase7.support.VariableDetails
Just holds details for retaining and registering a target for memory management.
-
Constructor Summary
ConstructorsConstructorDescriptionVariableDetails
(String resultVariable, BasicDetails basicDetails) Creates an instance of aVariableDetails
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebasicDetails
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theresultVariable
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
VariableDetails
Creates an instance of aVariableDetails
record class.- Parameters:
resultVariable
- the value for theresultVariable
record componentbasicDetails
- the value for thebasicDetails
record 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)
. -
resultVariable
Returns the value of theresultVariable
record component.- Returns:
- the value of the
resultVariable
record component
-
basicDetails
Returns the value of thebasicDetails
record component.- Returns:
- the value of the
basicDetails
record component
-