Class IfHandler
java.lang.Object
org.eolang.opeo.decompilation.handlers.IfHandler
- All Implemented Interfaces:
InstructionHandler
If instruction handler.
[value1, value2] → []
If value1 is greater than value2, branch to instruction at branchoffset
(signed short constructed from unsigned bytes branchbyte1 << 8 | branchbyte2)
- Since:
- 0.2
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IfHandler
public IfHandler()
-
-
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.
-