Record Class ProgramCodeSites.Site
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase5.ProgramCodeSites.Site
- Enclosing class:
ProgramCodeSites
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thechangesNamedInPlacerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.reach()Returns the value of thereachrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Site
Site(Reach reach, boolean changesNamedInPlace) Creates an instance of aSiterecord class.- Parameters:
reach- the value for thereachrecord componentchangesNamedInPlace- the value for thechangesNamedInPlacerecord 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. -
reach
Returns the value of thereachrecord component.- Returns:
- the value of the
reachrecord component
-
changesNamedInPlace
public boolean changesNamedInPlace()Returns the value of thechangesNamedInPlacerecord component.- Returns:
- the value of the
changesNamedInPlacerecord component
-