Package org.cadixdev.mercury.remapper
Record Class RemapperAdapter
java.lang.Object
java.lang.Record
org.cadixdev.mercury.remapper.RemapperAdapter
public record RemapperAdapter(net.fabricmc.tinyremapper.api.TrEnvironment trEnvironment)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRemapperAdapter(net.fabricmc.tinyremapper.api.TrEnvironment trEnvironment) Creates an instance of aRemapperAdapterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable net.fabricmc.tinyremapper.api.TrClassgetDeobfuscatedPackage(net.fabricmc.tinyremapper.api.TrClass trClass) getFullDeobfuscatedName(net.fabricmc.tinyremapper.api.TrClass trClass) @Nullable net.fabricmc.tinyremapper.api.TrMethodgetSimpleDeobfuscatedName(net.fabricmc.tinyremapper.api.TrClass trClass) getSimpleObfuscatedName(net.fabricmc.tinyremapper.api.TrClass trClass) final inthashCode()Returns a hash code value for this object.mapFieldName(String owner, String name, String descriptor) mapMethodArg(String methodOwner, String methodName, String methodDesc, int lvIndex, String name) mapMethodName(String owner, String name, String descriptor) net.fabricmc.tinyremapper.api.TrRemapperremapper()final StringtoString()Returns a string representation of this record class.net.fabricmc.tinyremapper.api.TrEnvironmentReturns the value of thetrEnvironmentrecord component.
-
Constructor Details
-
RemapperAdapter
public RemapperAdapter(net.fabricmc.tinyremapper.api.TrEnvironment trEnvironment) Creates an instance of aRemapperAdapterrecord class.- Parameters:
trEnvironment- the value for thetrEnvironmentrecord component
-
-
Method Details
-
remapper
public net.fabricmc.tinyremapper.api.TrRemapper remapper() -
getClass
-
getMethod
-
mapClass
-
mapMethodName
-
mapFieldName
-
mapMethodArg
-
getDeobfuscatedPackage
-
mapSimpleDeobfuscatedName
-
getSimpleDeobfuscatedName
-
getFullDeobfuscatedName
-
getSimpleObfuscatedName
-
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). -
trEnvironment
public net.fabricmc.tinyremapper.api.TrEnvironment trEnvironment()Returns the value of thetrEnvironmentrecord component.- Returns:
- the value of the
trEnvironmentrecord component
-