/* * @see ASTVisitor#visit(AnnotationTypeDeclaration) * @since 3.0 */ @Override public boolean visit(AnnotationTypeDeclaration node) { if (node.getJavadoc() != null) { node.getJavadoc().accept(this); } printModifiers(node.modifiers()); this.fBuffer.append("@interface "); // $NON-NLS-1$ node.getName().accept(this); this.fBuffer.append(" {"); // $NON-NLS-1$ for (Iterator<BodyDeclaration> it = node.bodyDeclarations().iterator(); it.hasNext(); ) { BodyDeclaration d = it.next(); d.accept(this); } this.fBuffer.append("}"); // $NON-NLS-1$ return false; }