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
ConstructorsConstructorDescriptionMixinRefmapInlinerApplyVisitorProvider(MixinReferenceRemapper remapper, Predicate<net.fabricmc.tinyremapper.InputTag> staticRemappedMixins) Creates an instance of aMixinRefmapInlinerApplyVisitorProviderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidattach(net.fabricmc.tinyremapper.TinyRemapper.Builder builder) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.objectweb.asm.ClassVisitorinsertApplyVisitor(net.fabricmc.tinyremapper.api.TrClass cls, org.objectweb.asm.ClassVisitor next) org.objectweb.asm.ClassVisitorinsertApplyVisitor(net.fabricmc.tinyremapper.api.TrClass cls, org.objectweb.asm.ClassVisitor next, net.fabricmc.tinyremapper.InputTag[] inputTags) remapper()Returns the value of theremapperrecord component.Predicate<net.fabricmc.tinyremapper.InputTag> Returns the value of thestaticRemappedMixinsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MixinRefmapInlinerApplyVisitorProvider
public MixinRefmapInlinerApplyVisitorProvider(MixinReferenceRemapper remapper, Predicate<net.fabricmc.tinyremapper.InputTag> staticRemappedMixins) Creates an instance of aMixinRefmapInlinerApplyVisitorProviderrecord class.- Parameters:
remapper- the value for theremapperrecord componentstaticRemappedMixins- the value for thestaticRemappedMixinsrecord component
-
-
Method Details
-
insertApplyVisitor
public org.objectweb.asm.ClassVisitor insertApplyVisitor(net.fabricmc.tinyremapper.api.TrClass cls, org.objectweb.asm.ClassVisitor next) - Specified by:
insertApplyVisitorin interfacenet.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:
insertApplyVisitorin interfacenet.fabricmc.tinyremapper.TinyRemapper.ApplyVisitorProvider
-
attach
public void attach(net.fabricmc.tinyremapper.TinyRemapper.Builder builder) - Specified by:
attachin interfacenet.fabricmc.tinyremapper.TinyRemapper.Extension
-
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). -
remapper
Returns the value of theremapperrecord component.- Returns:
- the value of the
remapperrecord component
-
staticRemappedMixins
Returns the value of thestaticRemappedMixinsrecord component.- Returns:
- the value of the
staticRemappedMixinsrecord component
-