Class DummyAgent
- java.lang.Object
-
- org.eolang.opeo.decompilation.agents.DummyAgent
-
- All Implemented Interfaces:
DecompilationAgent
public final class DummyAgent extends Object implements DecompilationAgent
Dummy agent. It does nothing.- Since:
- 0.4
-
-
Constructor Summary
Constructors Constructor Description DummyAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appropriate(DecompilerState always)
Check if the agent is suitable for the current state.void
handle(DecompilerState ignore)
Handle the current state.org.eolang.opeo.decompilation.agents.Supported
supported()
Supported opcodes.
-
-
-
Method Detail
-
handle
public void handle(DecompilerState ignore)
Description copied from interface:DecompilationAgent
Handle the current state.- Specified by:
handle
in interfaceDecompilationAgent
- Parameters:
ignore
- Current state to handle together with operand stack and variables.
-
supported
public org.eolang.opeo.decompilation.agents.Supported supported()
Description copied from interface:DecompilationAgent
Supported opcodes.- Specified by:
supported
in interfaceDecompilationAgent
- Returns:
- Supported opcodes.
-
appropriate
public boolean appropriate(DecompilerState always)
Description copied from interface:DecompilationAgent
Check if the agent is suitable for the current state.- Specified by:
appropriate
in interfaceDecompilationAgent
- Parameters:
always
- Current state.- Returns:
- True if the agent is suitable for the current state.
-
-