java.lang.Object
java.lang.Record
org.aya.resolve.ResolvingStmt.ModStmt
- All Implemented Interfaces:
ResolvingStmt
- Enclosing interface:
ResolvingStmt
public static record ResolvingStmt.ModStmt(@NotNull kala.collection.immutable.ImmutableSeq<@NotNull ResolvingStmt> resolved)
extends Record
implements ResolvingStmt
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.resolve.ResolvingStmt
ResolvingStmt.GenStmt, ResolvingStmt.MiscDecl, ResolvingStmt.ModStmt, ResolvingStmt.ResolvingDecl, ResolvingStmt.TopDecl -
Constructor Summary
ConstructorsConstructorDescriptionModStmt(@NotNull kala.collection.immutable.ImmutableSeq<@NotNull ResolvingStmt> resolved) Creates an instance of aModStmtrecord 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.@NotNull kala.collection.immutable.ImmutableSeq<@NotNull ResolvingStmt> resolved()Returns the value of theresolvedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModStmt
public ModStmt(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<@NotNull ResolvingStmt> resolved) Creates an instance of aModStmtrecord class.- Parameters:
resolved- the value for theresolvedrecord 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). -
resolved
Returns the value of theresolvedrecord component.- Returns:
- the value of the
resolvedrecord component
-