Record Class MixinRefmapInlinerApplyVisitorProvider

java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.mods.dependency.refmap.MixinRefmapInlinerApplyVisitorProvider
All Implemented Interfaces:
net.fabricmc.tinyremapper.TinyRemapper.ApplyVisitorProvider, net.fabricmc.tinyremapper.TinyRemapper.Extension

public record MixinRefmapInlinerApplyVisitorProvider(MixinReferenceRemapper remapper, Predicate<net.fabricmc.tinyremapper.InputTag> staticRemappedMixins) extends Record implements net.fabricmc.tinyremapper.TinyRemapper.ApplyVisitorProvider, net.fabricmc.tinyremapper.TinyRemapper.Extension
  • Constructor Summary

    Constructors
    Constructor
    Description
    MixinRefmapInlinerApplyVisitorProvider(MixinReferenceRemapper remapper, Predicate<net.fabricmc.tinyremapper.InputTag> staticRemappedMixins)
    Creates an instance of a MixinRefmapInlinerApplyVisitorProvider record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    attach(net.fabricmc.tinyremapper.TinyRemapper.Builder builder)
     
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    org.objectweb.asm.ClassVisitor
    insertApplyVisitor(net.fabricmc.tinyremapper.api.TrClass cls, org.objectweb.asm.ClassVisitor next)
     
    org.objectweb.asm.ClassVisitor
    insertApplyVisitor(net.fabricmc.tinyremapper.api.TrClass cls, org.objectweb.asm.ClassVisitor next, net.fabricmc.tinyremapper.InputTag[] inputTags)
     
    Returns the value of the remapper record component.
    Predicate<net.fabricmc.tinyremapper.InputTag>
    Returns the value of the staticRemappedMixins record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MixinRefmapInlinerApplyVisitorProvider

      public MixinRefmapInlinerApplyVisitorProvider(MixinReferenceRemapper remapper, Predicate<net.fabricmc.tinyremapper.InputTag> staticRemappedMixins)
      Creates an instance of a MixinRefmapInlinerApplyVisitorProvider record class.
      Parameters:
      remapper - the value for the remapper record component
      staticRemappedMixins - the value for the staticRemappedMixins record component
  • Method Details

    • insertApplyVisitor

      public org.objectweb.asm.ClassVisitor insertApplyVisitor(net.fabricmc.tinyremapper.api.TrClass cls, org.objectweb.asm.ClassVisitor next)
      Specified by:
      insertApplyVisitor in interface net.fabricmc.tinyremapper.TinyRemapper.ApplyVisitorProvider
    • insertApplyVisitor

      public org.objectweb.asm.ClassVisitor insertApplyVisitor(net.fabricmc.tinyremapper.api.TrClass cls, org.objectweb.asm.ClassVisitor next, net.fabricmc.tinyremapper.InputTag[] inputTags)
      Specified by:
      insertApplyVisitor in interface net.fabricmc.tinyremapper.TinyRemapper.ApplyVisitorProvider
    • attach

      public void attach(net.fabricmc.tinyremapper.TinyRemapper.Builder builder)
      Specified by:
      attach in interface net.fabricmc.tinyremapper.TinyRemapper.Extension
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • remapper

      public MixinReferenceRemapper remapper()
      Returns the value of the remapper record component.
      Returns:
      the value of the remapper record component
    • staticRemappedMixins

      public Predicate<net.fabricmc.tinyremapper.InputTag> staticRemappedMixins()
      Returns the value of the staticRemappedMixins record component.
      Returns:
      the value of the staticRemappedMixins record component