Interface JavaNode
-
- All Superinterfaces:
net.sourceforge.pmd.lang.ast.Node,net.sourceforge.pmd.lang.symboltable.ScopedNode
- All Known Subinterfaces:
Annotatable,ASTAnyTypeBodyDeclaration,ASTAnyTypeDeclaration,ASTMethodOrConstructorDeclaration,MethodLikeNode
- All Known Implementing Classes:
AbstractAnyTypeDeclaration,AbstractJavaAccessNode,AbstractJavaAccessTypeNode,AbstractJavaNode,AbstractJavaTypeNode,AbstractMethodLikeNode,AbstractMethodOrConstructorDeclaration,ASTAdditiveExpression,ASTAllocationExpression,ASTAndExpression,ASTAnnotation,ASTAnnotationMethodDeclaration,ASTAnnotationTypeBody,ASTAnnotationTypeDeclaration,ASTAnnotationTypeMemberDeclaration,ASTArgumentList,ASTArguments,ASTArrayDimsAndInits,ASTArrayInitializer,ASTAssertStatement,ASTAssignmentOperator,ASTBlock,ASTBlockStatement,ASTBooleanLiteral,ASTBreakStatement,ASTCastExpression,ASTCatchStatement,ASTClassOrInterfaceBody,ASTClassOrInterfaceBodyDeclaration,ASTClassOrInterfaceDeclaration,ASTClassOrInterfaceType,ASTCompilationUnit,ASTConditionalAndExpression,ASTConditionalExpression,ASTConditionalOrExpression,ASTConstructorDeclaration,ASTContinueStatement,ASTDefaultValue,ASTDoStatement,ASTEmptyStatement,ASTEnumBody,ASTEnumConstant,ASTEnumDeclaration,ASTEqualityExpression,ASTExclusiveOrExpression,ASTExplicitConstructorInvocation,ASTExpression,ASTExtendsList,ASTFieldDeclaration,ASTFinallyStatement,ASTForInit,ASTFormalParameter,ASTFormalParameters,ASTForStatement,ASTForUpdate,ASTIfStatement,ASTImplementsList,ASTImportDeclaration,ASTInclusiveOrExpression,ASTInitializer,ASTInstanceOfExpression,ASTLabeledStatement,ASTLambdaExpression,ASTLiteral,ASTLocalVariableDeclaration,ASTMarkerAnnotation,ASTMemberSelector,ASTMemberValue,ASTMemberValueArrayInitializer,ASTMemberValuePair,ASTMemberValuePairs,ASTMethodDeclaration,ASTMethodDeclarator,ASTMethodReference,ASTModuleDeclaration,ASTModuleDirective,ASTModuleName,ASTMultiplicativeExpression,ASTName,ASTNameList,ASTNormalAnnotation,ASTNullLiteral,ASTPackageDeclaration,ASTPostfixExpression,ASTPreDecrementExpression,ASTPreIncrementExpression,ASTPrimaryExpression,ASTPrimaryPrefix,ASTPrimarySuffix,ASTPrimitiveType,ASTReferenceType,ASTRelationalExpression,ASTResource,ASTResources,ASTResourceSpecification,ASTResultType,ASTReturnStatement,ASTRSIGNEDSHIFT,ASTRUNSIGNEDSHIFT,ASTShiftExpression,ASTSingleMemberAnnotation,ASTStatement,ASTStatementExpression,ASTStatementExpressionList,ASTSwitchLabel,ASTSwitchStatement,ASTSynchronizedStatement,ASTThrowStatement,ASTTryStatement,ASTType,ASTTypeArgument,ASTTypeArguments,ASTTypeBound,ASTTypeDeclaration,ASTTypeParameter,ASTTypeParameters,ASTUnaryExpression,ASTUnaryExpressionNotPlusMinus,ASTVariableDeclarator,ASTVariableDeclaratorId,ASTVariableInitializer,ASTWhileStatement,ASTWildcardBounds,DummyJavaNode
public interface JavaNode extends net.sourceforge.pmd.lang.symboltable.ScopedNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectchildrenAccept(JavaParserVisitor visitor, java.lang.Object data)Accept the visitornet.sourceforge.pmd.lang.symboltable.ScopegetScope()java.lang.ObjectjjtAccept(JavaParserVisitor visitor, java.lang.Object data)Accept the visitorvoidsetScope(net.sourceforge.pmd.lang.symboltable.Scope scope)-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, getXPathNodeName, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtClose, jjtGetChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Method Detail
-
jjtAccept
java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
Accept the visitor. *
-
childrenAccept
java.lang.Object childrenAccept(JavaParserVisitor visitor, java.lang.Object data)
Accept the visitor. *
-
getScope
net.sourceforge.pmd.lang.symboltable.Scope getScope()
- Specified by:
getScopein interfacenet.sourceforge.pmd.lang.symboltable.ScopedNode
-
setScope
void setScope(net.sourceforge.pmd.lang.symboltable.Scope scope)
-
-