Record Class SignatureFixerApplyVisitor
java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.providers.minecraft.SignatureFixerApplyVisitor
- All Implemented Interfaces:
net.fabricmc.tinyremapper.TinyRemapper.ApplyVisitorProvider
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureFixerApplyVisitor(Map<String, String> signatureFixes) Creates an instance of aSignatureFixerApplyVisitorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getRemappedSignatures(boolean toIntermediary, MappingConfiguration mappingConfiguration, org.gradle.api.Project project, ServiceFactory serviceFactory, String targetNamespace) 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) Returns the value of thesignatureFixesrecord component.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.ApplyVisitorProvider
insertApplyVisitor
-
Constructor Details
-
SignatureFixerApplyVisitor
Creates an instance of aSignatureFixerApplyVisitorrecord class.- Parameters:
signatureFixes- the value for thesignatureFixesrecord 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
-
getRemappedSignatures
public static Map<String,String> getRemappedSignatures(boolean toIntermediary, MappingConfiguration mappingConfiguration, org.gradle.api.Project project, ServiceFactory serviceFactory, String targetNamespace) throws IOException - Throws:
IOException
-
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). -
signatureFixes
Returns the value of thesignatureFixesrecord component.- Returns:
- the value of the
signatureFixesrecord component
-