@Override public void visit(final EnumDeclaration n, final A arg) { visitComment(n.getComment(), arg); visitAnnotations(n, arg); n.getNameExpr().accept(this, arg); if (n.getImplements() != null) { for (final ClassOrInterfaceType c : n.getImplements()) { c.accept(this, arg); } } if (n.getEntries() != null) { for (final EnumConstantDeclaration e : n.getEntries()) { e.accept(this, arg); } } if (n.getMembers() != null) { for (final BodyDeclaration<?> member : n.getMembers()) { member.accept(this, arg); } } }