public static void dump(Statement s, int level) { for (int i = 0; i < level; i++) System.err.print("-"); aprint.e(s.getClass().getName()); if (s instanceof HasBody) { Body b = ((HasBody) s).getBody(); if (b != null) { Iterator<Statement> it = b.getStatements().iterator(); while (it.hasNext()) { dump(it.next(), level + 1); } } } }