java.lang.Object
java.lang.Record
org.aya.resolve.ResolveInfo.OpRenameInfo
- Enclosing class:
ResolveInfo
public static record ResolveInfo.OpRenameInfo(@NotNull Context bindCtx, @NotNull ResolveInfo.RenamedOpDecl renamed, @NotNull org.aya.syntax.concrete.stmt.BindBlock bind, boolean reExport)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOpRenameInfo(@NotNull Context bindCtx, @NotNull ResolveInfo.RenamedOpDecl renamed, @NotNull org.aya.syntax.concrete.stmt.BindBlock bind, boolean reExport) Creates an instance of aOpRenameInforecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull org.aya.syntax.concrete.stmt.BindBlockbind()Returns the value of thebindrecord component.@NotNull ContextbindCtx()Returns the value of thebindCtxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanreExport()Returns the value of thereExportrecord component.@NotNull ResolveInfo.RenamedOpDeclrenamed()Returns the value of therenamedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpRenameInfo
public OpRenameInfo(@NotNull @NotNull Context bindCtx, @NotNull @NotNull ResolveInfo.RenamedOpDecl renamed, @NotNull @NotNull org.aya.syntax.concrete.stmt.BindBlock bind, boolean reExport) Creates an instance of aOpRenameInforecord class.- Parameters:
bindCtx- the value for thebindCtxrecord componentrenamed- the value for therenamedrecord componentbind- the value for thebindrecord componentreExport- the value for thereExportrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
bindCtx
Returns the value of thebindCtxrecord component.- Returns:
- the value of the
bindCtxrecord component
-
renamed
Returns the value of therenamedrecord component.- Returns:
- the value of the
renamedrecord component
-
bind
@NotNull public @NotNull org.aya.syntax.concrete.stmt.BindBlock bind()Returns the value of thebindrecord component.- Returns:
- the value of the
bindrecord component
-
reExport
public boolean reExport()Returns the value of thereExportrecord component.- Returns:
- the value of the
reExportrecord component
-