public class SimpleRemapper extends Remapper
| Constructor | Description |
|---|---|
SimpleRemapper(String oldName,
String newName) |
|
SimpleRemapper(Map<String,String> mapping) |
| Modifier and Type | Method | Description |
|---|---|---|
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 |
mapInvokeDynamicMethodName(String name,
String desc) |
Map invokedynamic method name to the new name.
|
String |
mapMethodName(String owner,
String name,
String desc) |
Map method name to the new name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRemappingSignatureAdapter, createSignatureRemapper, mapDesc, mapMethodDesc, mapSignature, mapType, mapTypes, mapValuepublic String mapMethodName(String owner, String name, String desc)
RemappermapMethodName in class Remapperowner - owner of the method.name - name of the method.desc - descriptor of the method.public String mapInvokeDynamicMethodName(String name, String desc)
RemappermapInvokeDynamicMethodName in class Remappername - name of the invokedynamic.desc - descriptor of the invokedynamic.public String mapFieldName(String owner, String name, String desc)
RemappermapFieldName in class Remapperowner - owner of the field.name - name of the fielddesc - descriptor of the field