java.lang.Iterable<ASTClassOrInterfaceType>, net.sourceforge.pmd.lang.ast.Node, JavaNode, net.sourceforge.pmd.lang.symboltable.ScopedNodepublic class ASTExtendsList extends AbstractJavaNode implements java.lang.Iterable<ASTClassOrInterfaceType>
extends clause of a class or interface declaration.
If the parent is an interface declaration, then these types are all interface
types. Otherwise, then this list contains exactly one element.
ExtendsList ::= "extends" (TypeAnnotation)* ClassOrInterfaceType
( "," (TypeAnnotation)* ClassOrInterfaceType )*
parser| Constructor | Description |
|---|---|
ASTExtendsList(int id) |
|
ASTExtendsList(JavaParser p,
int id) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Iterator<ASTClassOrInterfaceType> |
iterator() |
|
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data) |
Accept the visitor.
|
childrenAccept, comment, comment, getScope, getXPathNodeName, jjtClose, jjtOpen, setScopeappendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toStringfindChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserDatapublic ASTExtendsList(int id)
public ASTExtendsList(JavaParser p, int id)
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
jjtAccept in interface JavaNodejjtAccept in class AbstractJavaNodepublic java.util.Iterator<ASTClassOrInterfaceType> iterator()
iterator in interface java.lang.Iterable<ASTClassOrInterfaceType>Copyright © 2002–2018 PMD. All rights reserved.