Class RouterHandler
java.lang.Object
org.eolang.opeo.decompilation.handlers.RouterHandler
- All Implemented Interfaces:
InstructionHandler
General Instruction Handler.
This handler redirects handling of instructions depending on an incoming instruction.
- Since:
- 0.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(DecompilerState state) Handle instruction.String[]Get supported opcodes.
-
Constructor Details
-
RouterHandler
public RouterHandler(boolean counting) Constructor.- Parameters:
counting- Do we put numbers to opcodes?
-
-
Method Details
-
handle
Description copied from interface:InstructionHandlerHandle instruction.- Specified by:
handlein interfaceInstructionHandler- Parameters:
state- Current instruction to handle together with operand stack and variables.
-
supportedOpcodes
Get supported opcodes.- Returns:
- Supported opcodes.
-