类 SimpleRemapper

java.lang.Object
org.beetl.ow2.asm.commons.Remapper
org.beetl.ow2.asm.commons.SimpleRemapper

public class SimpleRemapper extends Remapper
A Remapper using a Map to define its mapping.
作者:
Eugene Kuleshov
  • 构造器详细资料

    • SimpleRemapper

      public SimpleRemapper(Map<String,String> mapping)
    • SimpleRemapper

      public SimpleRemapper(String oldName, String newName)
  • 方法详细资料

    • mapMethodName

      public String mapMethodName(String owner, String name, String desc)
      从类复制的说明: Remapper
      Map method className to the new className. Subclasses can override.
      覆盖:
      mapMethodName 在类中 Remapper
      参数:
      owner - owner of the method.
      name - className of the method.
      desc - descriptor of the method.
      返回:
      new className of the method
    • mapFieldName

      public String mapFieldName(String owner, String name, String desc)
      从类复制的说明: Remapper
      Map field className to the new className. Subclasses can override.
      覆盖:
      mapFieldName 在类中 Remapper
      参数:
      owner - owner of the field.
      name - className of the field
      desc - descriptor of the field
      返回:
      new className of the field.
    • map

      public String map(String key)
      从类复制的说明: Remapper
      Map type className to the new className. Subclasses can override.
      覆盖:
      map 在类中 Remapper