net.sourceforge.pmd.lang.java.ast
Class AbstractJavaNode
java.lang.Object
net.sourceforge.pmd.lang.ast.AbstractNode
net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
- All Implemented Interfaces:
- Node, JavaNode, ScopedNode
- Direct Known Subclasses:
- AbstractJavaAccessNode, AbstractJavaTypeNode, ASTAnnotation, ASTAnnotationTypeBody, ASTAnnotationTypeMemberDeclaration, ASTArgumentList, ASTArguments, ASTArrayDimsAndInits, ASTArrayInitializer, ASTAssertStatement, ASTAssignmentOperator, ASTBlock, ASTBlockStatement, ASTBreakStatement, ASTCatchStatement, ASTClassOrInterfaceBody, ASTClassOrInterfaceBodyDeclaration, ASTContinueStatement, ASTDefaultValue, ASTDoStatement, ASTEmptyStatement, ASTEnumBody, ASTEnumConstant, ASTExplicitConstructorInvocation, ASTExtendsList, ASTFinallyStatement, ASTForInit, ASTFormalParameters, ASTForStatement, ASTForUpdate, ASTIfStatement, ASTImplementsList, ASTInitializer, ASTLabeledStatement, ASTMemberSelector, ASTMemberValue, ASTMemberValueArrayInitializer, ASTMemberValuePair, ASTMemberValuePairs, ASTMethodDeclarator, ASTMethodReference, ASTNameList, ASTPackageDeclaration, ASTPrimarySuffix, ASTResources, ASTResourceSpecification, ASTResultType, ASTReturnStatement, ASTRSIGNEDSHIFT, ASTRUNSIGNEDSHIFT, ASTStatement, ASTStatementExpressionList, ASTSwitchLabel, ASTSwitchStatement, ASTSynchronizedStatement, ASTThrowStatement, ASTTryStatement, ASTTypeArgument, ASTTypeArguments, ASTTypeBound, ASTTypeParameter, ASTTypeParameters, ASTVariableInitializer, ASTWhileStatement, ASTWildcardBounds, DummyJavaNode
public abstract class AbstractJavaNode
- extends AbstractNode
- implements JavaNode
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode |
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, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, setDataFlowNode, setImage, setUserData, testingOnly__setBeginColumn, testingOnly__setBeginLine, testingOnly__setEndColumn, testingOnly__setEndLine |
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node |
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtSetChildIndex, jjtSetParent, setDataFlowNode, setImage, setUserData |
parser
protected JavaParser parser
AbstractJavaNode
public AbstractJavaNode(int id)
AbstractJavaNode
public AbstractJavaNode(JavaParser parser,
int id)
jjtOpen
public void jjtOpen()
- Specified by:
jjtOpen
in interface Node
- Overrides:
jjtOpen
in class AbstractNode
jjtClose
public void jjtClose()
- Specified by:
jjtClose
in interface Node
- Overrides:
jjtClose
in class AbstractNode
jjtAccept
public Object jjtAccept(JavaParserVisitor visitor,
Object data)
- Accept the visitor. *
- Specified by:
jjtAccept
in interface JavaNode
childrenAccept
public Object childrenAccept(JavaParserVisitor visitor,
Object data)
- Accept the visitor. *
- Specified by:
childrenAccept
in interface JavaNode
getScope
public Scope getScope()
- Specified by:
getScope
in interface JavaNode
- Specified by:
getScope
in interface ScopedNode
setScope
public void setScope(Scope scope)
- Specified by:
setScope
in interface JavaNode
comment
public void comment(Comment theComment)
comment
public Comment comment()
toString
public String toString()
- Specified by:
toString
in class AbstractNode
Copyright © 2002-2015 InfoEther. All Rights Reserved.