@Test public void testToString() { Return r = new Return(Drop.instance()); assertTrue(r.toString().contains(Return.class.getSimpleName())); assertTrue(r.toString().contains("action")); assertTrue(r.toString().contains(r.getAction().toString())); }
@Override public String toString() { return MoreObjects.toStringHelper(this).add("action", _action).toString(); }
Return implements Statement { @Override public String toString() { return MoreObjects.toStringHelper(this).add("action", _action).toString(); } }
Return implements Statement { @Override public String toString() { return MoreObjects.toStringHelper(this).add("action", _action).toString(); } Return(Action action); }
Return implements Statement { @Override public String toString() { return MoreObjects.toStringHelper(this).add("action", _action).toString(); } Return(Action action); @JsonProperty(PROP_ACTION) Action getAction(); @Override T accept(StatementVisitor<T> visitor); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString(); }
Return implements Statement { @Override public String toString() { return MoreObjects.toStringHelper(this).add("action", _action).toString(); } Return(Action action); @JsonProperty(PROP_ACTION) Action getAction(); @Override T accept(StatementVisitor<T> visitor); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString();  }