public abstract class Remapper extends Object
map(String) - map typemapFieldName(String, String, String) - map field classNamemapMethodName(String, String, String) - map method className| 构造器和说明 |
|---|
Remapper() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected SignatureVisitor |
createRemappingSignatureAdapter(SignatureVisitor v) |
String |
map(String typeName)
Map type className to the new className.
|
String |
mapDesc(String desc) |
String |
mapFieldName(String owner,
String name,
String desc)
Map field className to the new className.
|
String |
mapInvokeDynamicMethodName(String name,
String desc)
Map invokedynamic method className to the new className.
|
String |
mapMethodDesc(String desc) |
String |
mapMethodName(String owner,
String name,
String desc)
Map method className to the new className.
|
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 - className of the method.desc - descriptor of the method.public String mapInvokeDynamicMethodName(String name, String desc)
name - className of the invokedynamic.desc - descriptor of the invokedynamic.public String mapFieldName(String owner, String name, String desc)
owner - owner of the field.name - className of the fielddesc - descriptor of the fieldCopyright © 2020. All rights reserved.