net.sourceforge.pmd.ast
Class SimpleJavaNode
java.lang.Object
extended by net.sourceforge.pmd.ast.SimpleNode
extended by net.sourceforge.pmd.ast.SimpleJavaNode
- All Implemented Interfaces:
- JavaNode, Node
- Direct Known Subclasses:
- 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, ASTNameList, ASTNormalAnnotation, ASTPackageDeclaration, ASTPrimarySuffix, ASTResources, ASTResourceSpecification, ASTResultType, ASTReturnStatement, ASTRSIGNEDSHIFT, ASTRUNSIGNEDSHIFT, ASTSingleMemberAnnotation, ASTStatement, ASTStatementExpressionList, ASTSwitchLabel, ASTSwitchStatement, ASTSynchronizedStatement, ASTThrowStatement, ASTTryStatement, ASTTypeArgument, ASTTypeArguments, ASTTypeBound, ASTTypeParameter, ASTTypeParameters, ASTVariableInitializer, ASTWhileStatement, ASTWildcardBounds, SimpleJavaAccessNode, SimpleJavaTypeNode
public class SimpleJavaNode
- extends SimpleNode
- implements JavaNode
Method Summary |
java.lang.Object |
childrenAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
java.lang.Object |
jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
Accept the visitor. |
void |
jjtClose()
This method is called after all the child nodes have been
added. |
void |
jjtOpen()
This method is called after the node has been made the current
node. |
java.lang.String |
toString()
|
Methods inherited from class net.sourceforge.pmd.ast.SimpleNode |
appendElement, asXml, containsChildOfType, dump, dumpChildren, findChildNodesWithXPath, findChildrenOfType, findChildrenOfType, findChildrenOfType, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstParentOfType, getImage, getLabel, getNthParent, getParentsOfType, getScope, hasImageEqualTo, jjtAddChild, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtSetParent, setDataFlowNode, setImage, setScope, testingOnly__setBeginColumn, testingOnly__setBeginLine, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleJavaNode
public SimpleJavaNode(JavaParser p,
int i)
SimpleJavaNode
public SimpleJavaNode(int i)
jjtOpen
public void jjtOpen()
- Description copied from interface:
Node
- This method is called after the node has been made the current
node. It indicates that child nodes can now be added to it.
- Specified by:
jjtOpen
in interface Node
-
jjtClose
public void jjtClose()
- Description copied from interface:
Node
- This method is called after all the child nodes have been
added.
- Specified by:
jjtClose
in interface Node
-
jjtAccept
public java.lang.Object jjtAccept(JavaParserVisitor visitor,
java.lang.Object data)
- Accept the visitor. *
- Specified by:
jjtAccept
in interface JavaNode
-
childrenAccept
public java.lang.Object childrenAccept(JavaParserVisitor visitor,
java.lang.Object data)
- Accept the visitor. *
-
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
-
Copyright © 2002-2011 InfoEther. All Rights Reserved.