/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ /* Generated By:JJTree: Do not edit this line. ASTAnnotationTypeDeclaration.java */ package net.sourceforge.pmd.lang.java.ast; public class ASTAnnotationTypeDeclaration extends AbstractJavaAccessTypeNode { public ASTAnnotationTypeDeclaration(int id) { super(id); } public ASTAnnotationTypeDeclaration(JavaParser p, int id) { super(p, id); } /** * Accept the visitor. * */ public Object jjtAccept(JavaParserVisitor visitor, Object data) { return visitor.visit(this, data); } public boolean isNested() { return jjtGetParent() instanceof ASTClassOrInterfaceBodyDeclaration || jjtGetParent() instanceof ASTAnnotationTypeMemberDeclaration; } }