类 MappingKeeper
- java.lang.Object
-
- proguard.obfuscate.MappingKeeper
-
- 所有已实现的接口:
MappingProcessor
public class MappingKeeper extends java.lang.Object implements MappingProcessor
This MappingKeeper applies the mappings that it receives to its class pool, so these mappings are ensured in a subsequent obfuscation step.
-
-
构造器概要
构造器 构造器 说明 MappingKeeper(proguard.classfile.ClassPool classPool, proguard.classfile.util.WarningPrinter warningPrinter)Creates a new MappingKeeper.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanprocessClassMapping(java.lang.String className, java.lang.String newClassName)Processes the given class name mapping.voidprocessFieldMapping(java.lang.String className, java.lang.String fieldType, java.lang.String fieldName, java.lang.String newClassName, java.lang.String newFieldName)Processes the given field name mapping.voidprocessMethodMapping(java.lang.String className, int firstLineNumber, int lastLineNumber, java.lang.String methodReturnType, java.lang.String methodName, java.lang.String methodArguments, java.lang.String newClassName, int newFirstLineNumber, int newLastLineNumber, java.lang.String newMethodName)Processes the given method name mapping.
-
-
-
构造器详细资料
-
MappingKeeper
public MappingKeeper(proguard.classfile.ClassPool classPool, proguard.classfile.util.WarningPrinter warningPrinter)Creates a new MappingKeeper.- 参数:
classPool- the class pool in which class names and class member names have to be mapped.warningPrinter- the optional warning printer to which warnings can be printed.
-
-
方法详细资料
-
processClassMapping
public boolean processClassMapping(java.lang.String className, java.lang.String newClassName)从接口复制的说明:MappingProcessorProcesses the given class name mapping.- 指定者:
processClassMapping在接口中MappingProcessor- 参数:
className- the original class name.newClassName- the new class name.- 返回:
- whether the processor is interested in receiving mappings of the class members of this class.
-
processFieldMapping
public void processFieldMapping(java.lang.String className, java.lang.String fieldType, java.lang.String fieldName, java.lang.String newClassName, java.lang.String newFieldName)从接口复制的说明:MappingProcessorProcesses the given field name mapping.- 指定者:
processFieldMapping在接口中MappingProcessor- 参数:
className- the original class name.fieldType- the original external field type.fieldName- the original field name.newClassName- the new class name.newFieldName- the new field name.
-
processMethodMapping
public void processMethodMapping(java.lang.String className, int firstLineNumber, int lastLineNumber, java.lang.String methodReturnType, java.lang.String methodName, java.lang.String methodArguments, java.lang.String newClassName, int newFirstLineNumber, int newLastLineNumber, java.lang.String newMethodName)从接口复制的说明:MappingProcessorProcesses the given method name mapping.- 指定者:
processMethodMapping在接口中MappingProcessor- 参数:
className- 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.methodName- the original external method name.methodArguments- the original external method arguments.newClassName- the new class name.newFirstLineNumber- the new first line number of the method, or 0 if it is not known.newLastLineNumber- the new last line number of the method, or 0 if it is not known.newMethodName- the new method name.
-
-