proguard.retrace
public class ReTrace extends Object implements MappingProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
STACK_TRACE_EXPRESSION |
| Constructor and Description |
|---|
ReTrace(String regularExpression,
boolean verbose,
File mappingFile)
Creates a new ReTrace object to process stack traces on the standard
input, based on the given mapping file name.
|
ReTrace(String regularExpression,
boolean verbose,
File mappingFile,
File stackTraceFile)
Creates a new ReTrace object to process a stack trace from the given file,
based on the given mapping file name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Performs the subsequent ReTrace operations.
|
static void |
main(String[] args)
The main program for ReTrace.
|
boolean |
processClassMapping(String className,
String newClassName) |
void |
processFieldMapping(String className,
String fieldType,
String fieldName,
String newFieldName) |
void |
processMethodMapping(String className,
int firstLineNumber,
int lastLineNumber,
String methodReturnType,
String methodName,
String methodArguments,
String newMethodName) |
public static final String STACK_TRACE_EXPRESSION
public ReTrace(String regularExpression, boolean verbose, File mappingFile)
regularExpression - the regular expression for parsing the lines in
the stack trace.verbose - specifies whether the de-obfuscated stack trace
should be verbose.mappingFile - the mapping file that was written out by
ProGuard.public ReTrace(String regularExpression, boolean verbose, File mappingFile, File stackTraceFile)
regularExpression - the regular expression for parsing the lines in
the stack trace.verbose - specifies whether the de-obfuscated stack trace
should be verbose.mappingFile - the mapping file that was written out by
ProGuard.stackTraceFile - the optional name of the file that contains the
stack trace.public void execute()
throws IOException
IOExceptionpublic boolean processClassMapping(String className, String newClassName)
processClassMapping in interface MappingProcessorpublic void processFieldMapping(String className, String fieldType, String fieldName, String newFieldName)
processFieldMapping in interface MappingProcessorpublic void processMethodMapping(String className, int firstLineNumber, int lastLineNumber, String methodReturnType, String methodName, String methodArguments, String newMethodName)
processMethodMapping in interface MappingProcessorpublic static void main(String[] args)
Copyright © 2013. All Rights Reserved.