public class ASTCompilationUnit extends AbstractJavaTypeNode implements RootNode
parser
beginColumn, beginLine, childIndex, children, endColumn, endLine, id, parent
Constructor and Description |
---|
ASTCompilationUnit(int id) |
ASTCompilationUnit(JavaParser p,
int id) |
Modifier and Type | Method and Description |
---|---|
boolean |
declarationsAreInDefaultPackage() |
ClassTypeResolver |
getClassTypeResolver() |
List<Comment> |
getComments() |
ASTPackageDeclaration |
getPackageDeclaration() |
Object |
jjtAccept(JavaParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setClassTypeResolver(ClassTypeResolver classTypeResolver) |
void |
setComments(List<Comment> comments) |
getType, setType
childrenAccept, comment, comment, getScope, jjtClose, jjtOpen, setScope, toString
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData
public ASTCompilationUnit(int id)
public ASTCompilationUnit(JavaParser p, int id)
public Object jjtAccept(JavaParserVisitor visitor, Object data)
jjtAccept
in interface JavaNode
jjtAccept
in class AbstractJavaNode
public boolean declarationsAreInDefaultPackage()
public ASTPackageDeclaration getPackageDeclaration()
public ClassTypeResolver getClassTypeResolver()
public void setClassTypeResolver(ClassTypeResolver classTypeResolver)
Copyright © 2002-2015 InfoEther. All Rights Reserved.