public class SimpleRemapper extends Remapper
| Constructor and Description |
|---|
SimpleRemapper(Map<String,String> mapping) |
SimpleRemapper(String oldName,
String newName) |
| Modifier and Type | Method and 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.
|
createRemappingSignatureAdapter, 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