Class InvokevirtualHandler
java.lang.Object
org.eolang.opeo.decompilation.handlers.InvokevirtualHandler
- All Implemented Interfaces:
InstructionHandler
Invokevirtual instruction handler.
Other bytes: 2: indexbyte1, indexbyte2
objectref, [arg1, arg2, ...] → result
Invoke virtual method on object objectref and puts the result on the stack (might be void). The method is identified by method reference index in constant pool (indexbyte1 << 8 | indexbyte2)
- Since:
- 0.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InvokevirtualHandler
public InvokevirtualHandler()
-
-
Method Details
-
handle
Description copied from interface:InstructionHandler
Handle instruction.- Specified by:
handle
in interfaceInstructionHandler
- Parameters:
state
- Current instruction to handle together with operand stack and variables.
-