Class RuntimeClassMap

java.lang.Object
com.hloader.mixin.RuntimeClassMap

public final class RuntimeClassMap extends Object
Reads back the obfinvalid input: '<'->named mapping data the Gradle plugin bundles into each mod jar as hloader/mappings.srg, and bridges obf/named class, method and field names at runtime - used both by HloaderBytecodeProvider (to find a named class's obfuscated bytecode) and to produce human-readable copies of mixin-transformed classes for debugging.
  • Method Details

    • toTransformedName

      public String toTransformedName(String dottedName)
    • toObfuscatedName

      public String toObfuscatedName(String dottedName)
    • toDeobfuscatingRemapper

      public org.objectweb.asm.commons.Remapper toDeobfuscatingRemapper()
      Renames obfuscated classes/methods/fields to named equivalents - for debug export only, never applied to bytecode actually handed back to the JVM.
    • load

      public static RuntimeClassMap load(List<Path> modJars)