|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mvel2.asm.commons.Remapper
public abstract class Remapper
A class responsible for remapping types and names. Subclasses can override the following methods:
map(String) - map typemapFieldName(String, String, String) - map field namemapMethodName(String, String, String) - map method name
| Constructor Summary | |
|---|---|
Remapper()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Remapper()
| Method Detail |
|---|
public String mapDesc(String desc)
public String mapType(String type)
public String[] mapTypes(String[] types)
public String mapMethodDesc(String desc)
public 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 field
public String map(String typeName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||