@Test public void fromJSONTest() { Assert.assertEquals(this, fromJSON("any")); }
public Action fromJSON(String data) { return this; }
Action { public Action fromJSON(String data) { return this; } }
Action { public Action fromJSON(String data) { return this; }  }
Action { public Action fromJSON(String data) { return this; }  abstract int friendlyName(); abstract String shortDescription(); abstract void doAction(Callback callback); void generateDialog(LinearLayout root); boolean hasDialog(); String toJSON(); abstract Optional<Integer> icon(); Action fromJSON(String data); @Nullable static Action instantiate(JSONObject object); void apply(Action a); }
Action { public Action fromJSON(String data) { return this; }  abstract int friendlyName(); abstract String shortDescription(); abstract void doAction(Callback callback); void generateDialog(LinearLayout root); boolean hasDialog(); String toJSON(); abstract Optional<Integer> icon(); Action fromJSON(String data); @Nullable static Action instantiate(JSONObject object); void apply(Action a); public Trigger precondition; }