类 InstructionExceptionFormatter
java.lang.Object
proguard.exception.InstructionExceptionFormatter
This class is used to format an exception with the previous instructions. It is used by the
PartialEvaluator and StackSizeComputer to print the erroneous instruction and
any previous bytecode instructions and the next one to give some context.-
构造器概要
构造器构造器说明InstructionExceptionFormatter(org.apache.logging.log4j.Logger logger, CircularIntBuffer offsetBuffer, byte[] code, Clazz clazz, Method method) -
方法概要
修饰符和类型方法说明voidprintException(ProguardCoreException exception) voidprintException(ProguardCoreException exception, TracedVariables variables, TracedStack stack) voidregisterInstructionOffset(int offset)
-
构造器详细资料
-
InstructionExceptionFormatter
public InstructionExceptionFormatter(org.apache.logging.log4j.Logger logger, CircularIntBuffer offsetBuffer, byte[] code, Clazz clazz, Method method)
-
-
方法详细资料
-
registerInstructionOffset
public void registerInstructionOffset(int offset) -
printException
-
printException
public void printException(ProguardCoreException exception, TracedVariables variables, TracedStack stack)
-