org.objectweb.asm.commons
Class SimpleRemapper

java.lang.Object
  extended by org.objectweb.asm.commons.Remapper
      extended by org.objectweb.asm.commons.SimpleRemapper

public class SimpleRemapper
extends Remapper


Constructor Summary
SimpleRemapper(Map mapping)
           
SimpleRemapper(String oldName, String newName)
           
 
Method Summary
 String map(String key)
          Map type name to the new name.
 String mapFieldName(String owner, String name, String desc)
          Map field name to the new name.
 String mapMethodName(String owner, String name, String desc)
          Map method name to the new name.
 
Methods inherited from class org.objectweb.asm.commons.Remapper
createRemappingSignatureAdapter, mapDesc, mapMethodDesc, mapSignature, mapType, mapTypes, mapValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRemapper

public SimpleRemapper(Map mapping)

SimpleRemapper

public SimpleRemapper(String oldName,
                      String newName)
Method Detail

mapMethodName

public String mapMethodName(String owner,
                            String name,
                            String desc)
Description copied from class: Remapper
Map method name to the new name. Subclasses can override.

Overrides:
mapMethodName in class Remapper

mapFieldName

public String mapFieldName(String owner,
                           String name,
                           String desc)
Description copied from class: Remapper
Map field name to the new name. Subclasses can override.

Overrides:
mapFieldName in class Remapper

map

public String map(String key)
Description copied from class: Remapper
Map type name to the new name. Subclasses can override.

Overrides:
map in class Remapper