net.sourceforge.pmd.lang.ast.Node
, ASTAnyTypeBodyDeclaration
, CanSuppressWarnings
, JavaNode
, net.sourceforge.pmd.lang.symboltable.ScopedNode
public class ASTClassOrInterfaceBodyDeclaration extends AbstractJavaNode implements CanSuppressWarnings, ASTAnyTypeBodyDeclaration
parser
beginColumn, beginLine, childIndex, children, endColumn, endLine, firstToken, id, lastToken, parent
Constructor | Description |
---|---|
ASTClassOrInterfaceBodyDeclaration(int id) |
|
ASTClassOrInterfaceBodyDeclaration(JavaParser p,
int id) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasSuppressWarningsAnnotationFor(Rule rule) |
|
boolean |
isAnonymousInnerClass() |
|
boolean |
isEnumChild() |
|
boolean |
isFindBoundary() |
|
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
childrenAccept, comment, comment, getScope, getXPathNodeName, jjtClose, jjtOpen, setScope
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
childrenAccept, getScope, setScope
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
public ASTClassOrInterfaceBodyDeclaration(int id)
public ASTClassOrInterfaceBodyDeclaration(JavaParser p, int id)
public boolean isFindBoundary()
isFindBoundary
in interface net.sourceforge.pmd.lang.ast.Node
isFindBoundary
in class net.sourceforge.pmd.lang.ast.AbstractNode
public boolean hasSuppressWarningsAnnotationFor(Rule rule)
hasSuppressWarningsAnnotationFor
in interface CanSuppressWarnings
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept
in interface JavaNode
jjtAccept
in class AbstractJavaNode
public boolean isAnonymousInnerClass()
public boolean isEnumChild()
Copyright © 2002–2018 PMD. All rights reserved.