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 Details

    • DummyAgent

      public DummyAgent()
  • Method Details

    • handle

      public void handle(DecompilerState ignore)
      Description copied from interface: DecompilationAgent
      Handle the current state.
      Specified by:
      handle in interface DecompilationAgent
      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 interface DecompilationAgent
      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 interface DecompilationAgent
      Parameters:
      always - Current state.
      Returns:
      True if the agent is suitable for the current state.