Package proguard.evaluation
Interface InvocationUnit
- All Known Implementing Classes:
BasicInvocationUnit,ExecutingInvocationUnit,ReferenceTracingInvocationUnit,SimplifiedInvocationUnit
public interface InvocationUnit
This interface sets up the variables for entering a method, and it updates the stack for the
invocation of a class member.
-
Method Summary
Modifier and TypeMethodDescriptionvoidenterExceptionHandler(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int catchType, Stack stack) Sets up the given stack for entering the given exception handler.voidenterMethod(Clazz clazz, Method method, Variables variables) Sets up the given variables for entering the given method.voidexitMethod(Clazz clazz, Method method, Value returnValue) Exits the given method with the given return value.voidinvokeMember(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction, Stack stack, Variables variables) Updates the given stack corresponding to the execution of the given field or method reference instruction.
-
Method Details
-
enterMethod
Sets up the given variables for entering the given method. -
exitMethod
Exits the given method with the given return value. -
enterExceptionHandler
void enterExceptionHandler(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, int catchType, Stack stack) Sets up the given stack for entering the given exception handler. -
invokeMember
void invokeMember(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction, Stack stack, Variables variables) Updates the given stack corresponding to the execution of the given field or method reference instruction.
-