java.lang.Object
java.lang.Record
org.aya.resolve.ResolveInfo.RenamedOpDecl
- All Implemented Interfaces:
org.aya.util.binop.OpDecl
- Enclosing class:
ResolveInfo
public static record ResolveInfo.RenamedOpDecl(@NotNull org.aya.util.binop.OpDecl.OpInfo opInfo)
extends Record
implements org.aya.util.binop.OpDecl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.util.binop.OpDecl
org.aya.util.binop.OpDecl.BindPred, org.aya.util.binop.OpDecl.OpInfo -
Field Summary
Fields inherited from interface org.aya.util.binop.OpDecl
APPLICATION -
Constructor Summary
ConstructorsConstructorDescriptionRenamedOpDecl(@NotNull org.aya.util.binop.OpDecl.OpInfo opInfo) Creates an instance of aRenamedOpDeclrecord 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 org.aya.util.binop.OpDecl.OpInfoopInfo()Returns the value of theopInforecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RenamedOpDecl
public RenamedOpDecl(@NotNull @NotNull org.aya.util.binop.OpDecl.OpInfo opInfo) Creates an instance of aRenamedOpDeclrecord class.- Parameters:
opInfo- the value for theopInforecord 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). -
opInfo
@NotNull public @NotNull org.aya.util.binop.OpDecl.OpInfo opInfo()Returns the value of theopInforecord component.- Specified by:
opInfoin interfaceorg.aya.util.binop.OpDecl- Returns:
- the value of the
opInforecord component
-