proguard.evaluation
Interface InvocationUnit

All Known Implementing Classes:
BasicInvocationUnit, LoadingInvocationUnit, StoringInvocationUnit

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
 void enterMethod(Clazz clazz, Method method, Variables variables)
          Sets up the given variables for entering the given method.
 void exitMethod(Clazz clazz, Method method, Value returnValue)
          Exits the given method with the given return value.
 void invokeMember(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction, Stack stack)
          Updates the given stack corresponding to the execution of the given field or method reference instruction.
 

Method Detail

enterMethod

void enterMethod(Clazz clazz,
                 Method method,
                 Variables variables)
Sets up the given variables for entering the given method.


exitMethod

void exitMethod(Clazz clazz,
                Method method,
                Value returnValue)
Exits the given method with the given return value.


invokeMember

void invokeMember(Clazz clazz,
                  Method method,
                  CodeAttribute codeAttribute,
                  int offset,
                  ConstantInstruction constantInstruction,
                  Stack stack)
Updates the given stack corresponding to the execution of the given field or method reference instruction.