Interface IRemapper

All Known Implementing Classes:
RemapperChain

public interface IRemapper
Interface for remap chain participants
  • Method Details

    • mapMethodName

      String mapMethodName(String owner, String name, String desc)
      Map method name to the new name. Subclasses can override.
      Parameters:
      owner - owner of the method.
      name - name of the method.
      desc - descriptor of the method.
      Returns:
      new name of the method
    • mapFieldName

      String mapFieldName(String owner, String name, String desc)
      Map field name to the new name. Subclasses can override.
      Parameters:
      owner - owner of the field.
      name - name of the field
      desc - descriptor of the field
      Returns:
      new name of the field.
    • map

      String map(String typeName)
      Map type name to the new name. Subclasses can override.
      Parameters:
      typeName - Class name to convert
      Returns:
      new name for the class
    • unmap

      String unmap(String typeName)
      Convert a mapped type name back to the original obfuscated name
      Parameters:
      typeName - Class name to convert
      Returns:
      old name for the class
    • mapDesc

      String mapDesc(String desc)
      Convert a descriptor to remapped form
      Parameters:
      desc - descriptor to convert
      Returns:
      new descriptor
    • unmapDesc

      String unmapDesc(String desc)
      Convert a descriptor back to the original obfuscated form
      Parameters:
      desc - descriptor to convert
      Returns:
      old descriptor