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 booleanappropriate(DecompilerState always)Check if the agent is suitable for the current state.voidhandle(DecompilerState ignore)Handle the current state.org.eolang.opeo.decompilation.agents.Supportedsupported()Supported opcodes.
-
-
-
Method Detail
-
handle
public void handle(DecompilerState ignore)
Description copied from interface:DecompilationAgentHandle the current state.- Specified by:
handlein 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:DecompilationAgentSupported opcodes.- Specified by:
supportedin interfaceDecompilationAgent- Returns:
- Supported opcodes.
-
appropriate
public boolean appropriate(DecompilerState always)
Description copied from interface:DecompilationAgentCheck if the agent is suitable for the current state.- Specified by:
appropriatein interfaceDecompilationAgent- Parameters:
always- Current state.- Returns:
- True if the agent is suitable for the current state.
-
-