public void visit(CatchClause n, Object arg) { printer.print(" catch ("); n.getExcept().accept(this, arg); printer.print(") "); n.getCatchBlock().accept(this, arg); }
if (parameters != null) { for (int i = 0; i < parameters.size(); i++) { parameters.set(i, (Parameter) parameters.get(i).accept(this, arg));
if (parameters != null) { for (int i = 0; i < parameters.size(); i++) { parameters.set(i, (Parameter) parameters.get(i).accept(this, arg));
for (Iterator<Parameter> i = n.getParameters().iterator(); i.hasNext();) { Parameter p = i.next(); p.accept(this, arg); if (i.hasNext()) { printer.print(", ");
for (final Iterator<Parameter> i = n.getParameters().iterator(); i.hasNext();) { final Parameter p = i.next(); p.accept(this, arg); if (i.hasNext()) { printer.print(", ");
for (Iterator<Parameter> i = n.getParameters().iterator(); i.hasNext();) { Parameter p = i.next(); p.accept(this, arg); if (i.hasNext()) { printer.print(", ");
for (final Iterator<Parameter> i = n.getParameters().iterator(); i.hasNext();) { final Parameter p = i.next(); p.accept(this, arg); if (i.hasNext()) { printer.print(", ");
@Override public void visit(final ConstructorDeclaration n, final A arg) { visitComment(n.getComment(), arg); if (n.getJavaDoc() != null) { n.getJavaDoc().accept(this, arg); } if (n.getAnnotations() != null) { for (final AnnotationExpr a : n.getAnnotations()) { a.accept(this, arg); } } if (n.getTypeParameters() != null) { for (final TypeParameter t : n.getTypeParameters()) { t.accept(this, arg); } } if (n.getParameters() != null) { for (final Parameter p : n.getParameters()) { p.accept(this, arg); } } if (n.getThrows() != null) { for (final NameExpr name : n.getThrows()) { name.accept(this, arg); } } n.getBlock().accept(this, arg); }
for (final Parameter p : n.getParameters()) { R result = p.accept(this, arg); if (result != null) { return result;
@Override public void visit(final MethodDeclaration n, final A arg) { visitComment(n.getComment(), arg); if (n.getJavaDoc() != null) { n.getJavaDoc().accept(this, arg); } if (n.getAnnotations() != null) { for (final AnnotationExpr a : n.getAnnotations()) { a.accept(this, arg); } } if (n.getTypeParameters() != null) { for (final TypeParameter t : n.getTypeParameters()) { t.accept(this, arg); } } n.getType().accept(this, arg); if (n.getParameters() != null) { for (final Parameter p : n.getParameters()) { p.accept(this, arg); } } if (n.getThrows() != null) { for (final NameExpr name : n.getThrows()) { name.accept(this, arg); } } if (n.getBody() != null) { n.getBody().accept(this, arg); } }
for (final Parameter p : n.getParameters()) { R result = p.accept(this, arg); if (result != null) { return result;