Record Class EscapeMetaDataDetails.Reach
java.lang.Object
java.lang.Record
org.ek9lang.compiler.ir.data.EscapeMetaDataDetails.Reach
- Record Components:
reason- which destinationdetail- the parameter, callee or type named, where there is one; may be empty
- All Implemented Interfaces:
Comparable<EscapeMetaDataDetails.Reach>
- Enclosing class:
EscapeMetaDataDetails
public static record EscapeMetaDataDetails.Reach(EscapeMetaDataDetails.Reach.Reason reason, String detail)
extends Record
implements Comparable<EscapeMetaDataDetails.Reach>
A destination a value reaches, with the level it implies.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe destinations, each with the level it implies. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EscapeMetaDataDetails.ReachHeld only within this operation.static final EscapeMetaDataDetails.ReachNothing holds the value. -
Constructor Summary
ConstructorsConstructorDescriptionReach(EscapeMetaDataDetails.Reach.Reason reason, String detail) Creates an instance of aReachrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintdetail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()reason()Returns the value of thereasonrecord component.text()reasonorreason:detail.toString()Returns a string representation of this record class.
-
Field Details
-
NONE
Nothing holds the value. -
LOCAL
Held only within this operation.
-
-
Constructor Details
-
Method Details
-
level
-
text
reasonorreason:detail. -
compareTo
- Specified by:
compareToin interfaceComparable<EscapeMetaDataDetails.Reach>
-
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). -
reason
-
detail
-