|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectproguard.obfuscate.MappingKeeper
This MappingKeeper applies the mappings that it receives to its class pool, so these mappings are ensured in a subsequent obfuscation step.
| Constructor Summary | |
MappingKeeper(ClassPool classPool)
Creates a new MappingKeeper. |
|
| Method Summary | |
boolean |
processClassFileMapping(String className,
String newClassName)
Processes the given class name mapping. |
void |
processFieldMapping(String className,
String fieldType,
String fieldName,
String newFieldName)
Processes the given field name mapping. |
void |
processMethodMapping(String className,
int firstLineNumber,
int lastLineNumber,
String methodReturnType,
String methodNameAndArguments,
String newMethodName)
Processes the given method name mapping. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MappingKeeper(ClassPool classPool)
classPool - the class pool in which class names and class member names
have to be mapped.| Method Detail |
public boolean processClassFileMapping(String className,
String newClassName)
MappingProcessor
processClassFileMapping in interface MappingProcessorclassName - the original class name.newClassName - the new class name.
public void processFieldMapping(String className,
String fieldType,
String fieldName,
String newFieldName)
MappingProcessor
processFieldMapping in interface MappingProcessorclassName - the original class name.fieldType - the original external field type.fieldName - the original field name.newFieldName - the new field name.
public void processMethodMapping(String className,
int firstLineNumber,
int lastLineNumber,
String methodReturnType,
String methodNameAndArguments,
String newMethodName)
MappingProcessor
processMethodMapping in interface MappingProcessorclassName - the original class name.firstLineNumber - the first line number of the method, or
0 if it is not known.lastLineNumber - the last line number of the method, or
0 if it is not known.methodReturnType - the original external method return type.methodNameAndArguments - the original external method name and
arguments.newMethodName - the new method name.
|
ProGuard | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||