接口 InvocationUnit
-
- 所有已知实现类:
BasicInvocationUnit,ExecutingInvocationUnit,ReferenceTracingInvocationUnit,SimplifiedInvocationUnit
public interface InvocationUnitThis interface sets up the variables for entering a method, and it updates the stack for the invocation of a class member.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidenterExceptionHandler(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.
-
-
-
方法详细资料
-
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.
-
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.
-
-