public abstract class Remapper extends Object
map(String)
- map typemapFieldName(String, String, String)
- map field namemapMethodName(String, String, String)
- map method nameConstructor and Description |
---|
Remapper() |
Modifier and Type | Method and Description |
---|---|
protected SignatureVisitor |
createRemappingSignatureAdapter(SignatureVisitor v) |
String |
map(String typeName)
Map type name to the new name.
|
String |
mapDesc(String desc) |
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 |
mapMethodDesc(String desc) |
String |
mapMethodName(String owner,
String name,
String desc)
Map method name to the new name.
|
String |
mapSignature(String signature,
boolean typeSignature) |
String |
mapType(String type) |
String[] |
mapTypes(String[] types) |
Object |
mapValue(Object value) |
public String mapSignature(String signature, boolean typeSignature)
typeSignature
- true if signature is a FieldTypeSignature, such as the
signature parameter of the ClassVisitor.visitField or
MethodVisitor.visitLocalVariable methodsprotected SignatureVisitor createRemappingSignatureAdapter(SignatureVisitor v)
public String mapMethodName(String owner, String name, String desc)
owner
- owner of the method.name
- name of the method.desc
- descriptor of the method.public String mapInvokeDynamicMethodName(String name, String desc)
name
- name of the invokedynamic.desc
- descriptor of the invokedynamic.public String mapFieldName(String owner, String name, String desc)
owner
- owner of the field.name
- name of the fielddesc
- descriptor of the fieldCopyright © 2018. All rights reserved.