@Override public Void visitCatchClause(CatchClause node) { visit("on ", node.getExceptionType()); if (node.getCatchKeyword() != null) { if (node.getExceptionType() != null) { writer.print(' '); } writer.print("catch ("); visit(node.getExceptionParameter()); visit(", ", node.getStackTraceParameter()); writer.print(") "); } else { writer.print(" "); } visit(node.getBody()); return null; }