Record Class AccessWidenerAnalyzeVisitorProvider
java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.mods.AccessWidenerAnalyzeVisitorProvider
- All Implemented Interfaces:
net.fabricmc.tinyremapper.TinyRemapper.AnalyzeVisitorProvider
public record AccessWidenerAnalyzeVisitorProvider(net.fabricmc.classtweaker.api.ClassTweaker accessWidener)
extends Record
implements net.fabricmc.tinyremapper.TinyRemapper.AnalyzeVisitorProvider
-
Constructor Summary
ConstructorsConstructorDescriptionAccessWidenerAnalyzeVisitorProvider(net.fabricmc.classtweaker.api.ClassTweaker accessWidener) Creates an instance of aAccessWidenerAnalyzeVisitorProviderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionnet.fabricmc.classtweaker.api.ClassTweakerReturns the value of theaccessWidenerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.objectweb.asm.ClassVisitorinsertAnalyzeVisitor(int mrjVersion, String className, org.objectweb.asm.ClassVisitor next) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fabricmc.tinyremapper.TinyRemapper.AnalyzeVisitorProvider
insertAnalyzeVisitor, insertAnalyzeVisitor
-
Constructor Details
-
AccessWidenerAnalyzeVisitorProvider
public AccessWidenerAnalyzeVisitorProvider(net.fabricmc.classtweaker.api.ClassTweaker accessWidener) Creates an instance of aAccessWidenerAnalyzeVisitorProviderrecord class.- Parameters:
accessWidener- the value for theaccessWidenerrecord component
-
-
Method Details
-
insertAnalyzeVisitor
public org.objectweb.asm.ClassVisitor insertAnalyzeVisitor(int mrjVersion, String className, org.objectweb.asm.ClassVisitor next) - Specified by:
insertAnalyzeVisitorin interfacenet.fabricmc.tinyremapper.TinyRemapper.AnalyzeVisitorProvider
-
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). -
accessWidener
public net.fabricmc.classtweaker.api.ClassTweaker accessWidener()Returns the value of theaccessWidenerrecord component.- Returns:
- the value of the
accessWidenerrecord component
-