@Test public void testVisit() { ActionVisitor visitor = mock(ActionVisitor.class); a.visit(visitor); verify(visitor).visit(a); }
@Override public Object visit(ActionVisitor v) { return v.visit(this); }
ShutdownNode extends Action implements NodeEvent { @Override public Object visit(ActionVisitor v) { return v.visit(this); } }
ShutdownNode extends Action implements NodeEvent { @Override public Object visit(ActionVisitor v) { return v.visit(this); } ShutdownNode(Node n, int start, int end); }
ShutdownNode extends Action implements NodeEvent { @Override public Object visit(ActionVisitor v) { return v.visit(this); } ShutdownNode(Node n, int start, int end); @Override Node getNode(); @Override boolean equals(Object o); @Override int hashCode(); @Override String pretty(); @Override boolean applyAction(Model c); @Override Object visit(ActionVisitor v); }
ShutdownNode extends Action implements NodeEvent { @Override public Object visit(ActionVisitor v) { return v.visit(this); } ShutdownNode(Node n, int start, int end); @Override Node getNode(); @Override boolean equals(Object o); @Override int hashCode(); @Override String pretty(); @Override boolean applyAction(Model c); @Override Object visit(ActionVisitor v);  }