public boolean isIf() { return node.getCatchCondition() != null; }
private void print(TryStatement node) throws IOException { writer.append("try "); print(node.getTryBlock()); for (CatchClause cc : node.getCatchClauses()) { writer.ws().append("catch").ws().append('('); print(cc.getVarName()); if (cc.getCatchCondition() != null) { writer.append(" if "); print(cc.getCatchCondition()); } writer.append(')'); print(cc.getBody()); } if (node.getFinallyBlock() != null) { writer.ws().append("finally "); print(node.getFinallyBlock()); } }
for(int i = catches.size()-1; i >= 0; i--) { CatchClause clause = catches.get(i); if (clause.getCatchCondition() != null) { code = Ast.makeNode(CAstNode.IF_STMT, visit(clause.getCatchCondition(), arg), visit(clause.getBody(), arg), code); } else { code = visit(clause, arg);
private void print(TryStatement node) throws IOException { writer.append("try "); print(node.getTryBlock()); for (CatchClause cc : node.getCatchClauses()) { writer.ws().append("catch").ws().append('('); print(cc.getVarName()); if (cc.getCatchCondition() != null) { writer.append(" if "); print(cc.getCatchCondition()); } writer.append(')'); print(cc.getBody()); } if (node.getFinallyBlock() != null) { writer.ws().append("finally "); print(node.getFinallyBlock()); } }
AstNode ccc = cc.getCatchCondition(); if (ccc != null) { decompiler.addName(" ");
AstNode ccc = cc.getCatchCondition(); if (ccc != null) { decompiler.addName(" ");
AstNode ccc = cc.getCatchCondition(); if (ccc != null) { decompiler.addName(" ");
AstNode ccc = cc.getCatchCondition(); if (ccc != null) { decompiler.addName(" ");