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 |
mapMethodName(String owner,
String name,
String desc)
Map method name to the new name.
|
createRemappingSignatureAdapter, mapDesc, mapInvokeDynamicMethodName, mapMethodDesc, mapSignature, mapType, mapTypes, mapValue
public String mapMethodName(String owner, String name, String desc)
Remapper
mapMethodName
in class Remapper
owner
- owner of the method.name
- name of the method.desc
- descriptor of the method.public String mapFieldName(String owner, String name, String desc)
Remapper
mapFieldName
in class Remapper
owner
- owner of the field.name
- name of the fielddesc
- descriptor of the fieldCopyright © 2018. All rights reserved.