Class InvokevirtualHandler
- java.lang.Object
-
- org.eolang.opeo.decompilation.handlers.InvokevirtualHandler
-
- All Implemented Interfaces:
InstructionHandler
public final class InvokevirtualHandler extends Object implements 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 Constructor Description InvokevirtualHandler()
-
-
-
Method Detail
-
handle
public void handle(DecompilerState state)
Description copied from interface:InstructionHandler
Handle instruction.- Specified by:
handle
in interfaceInstructionHandler
- Parameters:
state
- Current instruction to handle together with operand stack and variables.
-
-