## Uses of Interface
net.sourceforge.pmd.lang.ast.Node

Packages that use Node
Package | Description
--- | ---
net.sourceforge.pmd | This is the PMD programming mistake detector.
net.sourceforge.pmd.lang |
net.sourceforge.pmd.lang.ast |
net.sourceforge.pmd.lang.ast.xpath |
net.sourceforge.pmd.lang.ast.xpath.saxon |
net.sourceforge.pmd.lang.cpp |
net.sourceforge.pmd.lang.dfa |
net.sourceforge.pmd.lang.ecmascript |
net.sourceforge.pmd.lang.ecmascript.ast |
net.sourceforge.pmd.lang.ecmascript.rule |
net.sourceforge.pmd.lang.java |
net.sourceforge.pmd.lang.java.ast |
net.sourceforge.pmd.lang.java.dfa |
net.sourceforge.pmd.lang.java.rule |
net.sourceforge.pmd.lang.java.rule.basic |
net.sourceforge.pmd.lang.java.rule.codesize |
net.sourceforge.pmd.lang.java.rule.controversial |
net.sourceforge.pmd.lang.java.rule.imports |
net.sourceforge.pmd.lang.java.rule.optimizations |
net.sourceforge.pmd.lang.java.rule.strings |
net.sourceforge.pmd.lang.java.rule.sunsecure |
net.sourceforge.pmd.lang.java.rule.unnecessary |
net.sourceforge.pmd.lang.java.symboltable |
net.sourceforge.pmd.lang.java.typeresolution.rules.imports |
net.sourceforge.pmd.lang.java.xpath |
net.sourceforge.pmd.lang.jsp |
net.sourceforge.pmd.lang.jsp.ast |
net.sourceforge.pmd.lang.jsp.rule |
net.sourceforge.pmd.lang.jsp.rule.basic |
net.sourceforge.pmd.lang.rule |
net.sourceforge.pmd.lang.rule.xpath |
net.sourceforge.pmd.lang.xml |
net.sourceforge.pmd.lang.xml.ast |
net.sourceforge.pmd.lang.xml.rule |
net.sourceforge.pmd.stat |
net.sourceforge.pmd.util.designer |
net.sourceforge.pmd.util.viewer.gui.menu |
net.sourceforge.pmd.util.viewer.model |

### Uses of Node in net.sourceforge.pmd

Method parameters in net.sourceforge.pmd with type arguments of type Node
Modifier and Type | Method and Description
--- | ---
`void` | Rule.`addRuleChainVisit(Class<? extends Node> nodeClass)` Adds an AST node by class to be visited by the Rule on the RuleChain.
`void` | RuleSet.`apply(List<? extends Node> acuList, RuleContext ctx)`
`void` | Rule.`apply(List<? extends Node> nodes, RuleContext ctx)` Apply this rule to the given collection of nodes, using the given context.
`void` | RuleSets.`apply(List<Node> acuList, RuleContext ctx, Language language)` Apply all applicable rules to the compilation units.
`void` | RuleChain.`apply(List<Node> nodes, RuleContext ctx, Language language)` Apply the RuleChain to the given Nodes using the given RuleContext, for those rules using the given Language.

### Uses of Node in net.sourceforge.pmd.lang

Methods in net.sourceforge.pmd.lang that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | Parser.`parse(String fileName, Reader source)` Parse source code and return the root node of the AST.

Methods in net.sourceforge.pmd.lang that return types with arguments of type Node
Modifier and Type | Method and Description
--- | ---
`Class<? extends Node>` | DataFlowHandler.`getLabelStatementNodeClass()`

Methods in net.sourceforge.pmd.lang with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`DataFlowNode` | DataFlowHandler.`createDataFlowNode(List<DataFlowNode> dataFlow, Node node)`
`void` | VisitorStarter.`start(Node rootNode)` Start the visitor, given the root-node of the AST.

### Uses of Node in net.sourceforge.pmd.lang.ast

Classes in net.sourceforge.pmd.lang.ast that implement Node
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractNode`

Fields in net.sourceforge.pmd.lang.ast declared as Node
Modifier and Type | Field and Description
--- | ---
`protected Node[]` | AbstractNode.`children`
`protected Node` | AbstractNode.`parent`

Methods in net.sourceforge.pmd.lang.ast that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | AbstractNode.`getNthParent(int n)` Returns the n-th parent or null if there are not `n` ancestors
`Node` | Node.`getNthParent(int n)`
`Node` | AbstractNode.`jjtGetChild(int index)`
`Node` | Node.`jjtGetChild(int index)` This method returns a child node.
`Node` | AbstractNode.`jjtGetParent()`
`Node` | Node.`jjtGetParent()`

Methods in net.sourceforge.pmd.lang.ast that return types with arguments of type Node
Modifier and Type | Method and Description
--- | ---
`List<? extends Node>` | Node.`findChildNodesWithXPath(String xpathString)` Returns all the nodes matching the xpath expression.

Methods in net.sourceforge.pmd.lang.ast with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`void` | AbstractNode.`jjtAddChild(Node child, int index)`
`void` | Node.`jjtAddChild(Node child, int index)` This method tells the node to add its argument to the node's list of children.
`void` | AbstractNode.`jjtSetParent(Node parent)`
`void` | Node.`jjtSetParent(Node parent)` This pair of methods are used to inform the node of its parent.

### Uses of Node in net.sourceforge.pmd.lang.ast.xpath

Methods in net.sourceforge.pmd.lang.ast.xpath that return Node
Modifier and Type | Method and Description
--- | ---
`protected Node` | NodeIterator.`getFirstChild(Node contextNode)`
`protected abstract Node` | NodeIterator.`getFirstNode(Node contextNode)`
`protected Node` | NodeIterator.`getLastChild(Node contextNode)`
`protected abstract Node` | NodeIterator.`getNextNode(Node contextNode)`
`protected Node` | NodeIterator.`getNextSibling(Node contextNode)`
`Node` | Attribute.`getParent()`
`protected Node` | NodeIterator.`getPreviousSibling(Node contextNode)`
`Node` | NodeIterator.`next()`

Methods in net.sourceforge.pmd.lang.ast.xpath that return types with arguments of type Node
Modifier and Type | Method and Description
--- | ---
`Iterator<Node>` | DocumentNavigator.`getChildAxisIterator(Object contextNode)` Get an iterator over all of this node's children.
`Iterator<Node>` | DocumentNavigator.`getFollowingAxisIterator(Object contextNode)` Get an iterator over all following nodes, depth-first.
`Iterator<Node>` | DocumentNavigator.`getFollowingSiblingAxisIterator(Object contextNode)` Get an iterator over all following siblings.
`Iterator<Node>` | DocumentNavigator.`getParentAxisIterator(Object contextNode)` Get a (single-member) iterator over this node's parent.
`Iterator<Node>` | DocumentNavigator.`getPrecedingAxisIterator(Object contextNode)` Get an iterator over all preceding nodes, depth-first.
`Iterator<Node>` | DocumentNavigator.`getPrecedingSiblingAxisIterator(Object contextNode)` Get an iterator over all preceding siblings.

Methods in net.sourceforge.pmd.lang.ast.xpath with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected Node` | NodeIterator.`getFirstChild(Node contextNode)`
`protected abstract Node` | NodeIterator.`getFirstNode(Node contextNode)`
`protected Node` | NodeIterator.`getLastChild(Node contextNode)`
`protected abstract Node` | NodeIterator.`getNextNode(Node contextNode)`
`protected Node` | NodeIterator.`getNextSibling(Node contextNode)`
`protected Node` | NodeIterator.`getPreviousSibling(Node contextNode)`

Constructors in net.sourceforge.pmd.lang.ast.xpath with parameters of type Node
Constructor and Description
`Attribute(Node parent, String name, Method m)`
`Attribute(Node parent, String name, String value)`
`AttributeAxisIterator(Node contextNode)`
`NodeIterator(Node contextNode)`

### Uses of Node in net.sourceforge.pmd.lang.ast.xpath.saxon

Fields in net.sourceforge.pmd.lang.ast.xpath.saxon declared as Node
Modifier and Type | Field and Description
--- | ---
`protected Node` | ElementNode.`node`

Fields in net.sourceforge.pmd.lang.ast.xpath.saxon with type parameters of type Node
Modifier and Type | Field and Description
--- | ---
`Map<Node,ElementNode>` | DocumentNode.`nodeToElementNode` Mapping from AST Node to corresponding ElementNode.

Constructors in net.sourceforge.pmd.lang.ast.xpath.saxon with parameters of type Node
Constructor and Description
`DocumentNode(Node node)` Construct a DocumentNode, with the given AST Node serving as the root ElementNode.
`ElementNode(DocumentNode document, IdGenerator idGenerator, ElementNode parent, Node node, int siblingPosition)`

### Uses of Node in net.sourceforge.pmd.lang.cpp

Methods in net.sourceforge.pmd.lang.cpp that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | CppParser.`parse(String fileName, Reader source)`

### Uses of Node in net.sourceforge.pmd.lang.dfa

Fields in net.sourceforge.pmd.lang.dfa declared as Node
Modifier and Type | Field and Description
--- | ---
`protected Node` | AbstractDataFlowNode.`node`

Methods in net.sourceforge.pmd.lang.dfa that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | DataFlowNode.`getNode()`
`Node` | AbstractDataFlowNode.`getNode()`

Methods in net.sourceforge.pmd.lang.dfa with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`DataFlowNode` | Structure.`createNewNode(Node node)` This class encapsulates the access to the DataFlowNode class.

Constructors in net.sourceforge.pmd.lang.dfa with parameters of type Node
Constructor and Description
`AbstractDataFlowNode(List<DataFlowNode> dataFlow, Node node)`

### Uses of Node in net.sourceforge.pmd.lang.ecmascript

Methods in net.sourceforge.pmd.lang.ecmascript that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | Ecmascript3Parser.`parse(String fileName, Reader source)`

### Uses of Node in net.sourceforge.pmd.lang.ecmascript.ast

Subinterfaces of Node in net.sourceforge.pmd.lang.ecmascript.ast
Modifier and Type | Interface and Description
--- | ---
`interface` | `EcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>`

Classes in net.sourceforge.pmd.lang.ecmascript.ast that implement Node
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractEcmascriptNode<T extends org.mozilla.javascript.ast.AstNode>`
`class` | `AbstractInfixEcmascriptNode<T extends org.mozilla.javascript.ast.InfixExpression>`
`class` | `ASTArrayComprehension`
`class` | `ASTArrayComprehensionLoop`
`class` | `ASTArrayLiteral`
`class` | `ASTAssignment`
`class` | `ASTAstRoot`
`class` | `ASTCatchClause`
`class` | `ASTComment`
`class` | `ASTDoLoop`
`class` | `ASTElementGet`
`class` | `ASTEmptyExpression`
`class` | `ASTExpressionStatement`
`class` | `ASTForInLoop`
`class` | `ASTForLoop`
`class` | `ASTFunctionCall`
`class` | `ASTFunctionNode`
`class` | `ASTInfixExpression`
`class` | `ASTKeywordLiteral`
`class` | `ASTLabel`
`class` | `ASTLetNode`
`class` | `ASTNewExpression`
`class` | `ASTNumberLiteral`
`class` | `ASTObjectLiteral`
`class` | `ASTObjectProperty`
`class` | `ASTParenthesizedExpression`
`class` | `ASTPropertyGet`
`class` | `ASTRegExpLiteral`
`class` | `ASTScope`
`class` | `ASTStringLiteral`
`class` | `ASTSwitchCase`
`class` | `ASTVariableDeclaration`
`class` | `ASTWhileLoop`
`class` | `ASTWithStatement`
`class` | `ASTXmlDotQuery`
`class` | `ASTXmlExpression`
`class` | `ASTXmlMemberGet`
`class` | `ASTXmlString`

Fields in net.sourceforge.pmd.lang.ecmascript.ast with type parameters of type Node
Modifier and Type | Field and Description
--- | ---
`protected Stack<Node>` | EcmascriptTreeBuilder.`nodes`

### Uses of Node in net.sourceforge.pmd.lang.ecmascript.rule

Methods in net.sourceforge.pmd.lang.ecmascript.rule with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected RuleViolation` | EcmascriptRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)`
`protected RuleViolation` | EcmascriptRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)`
`protected void` | EcmascriptRuleChainVisitor.`visit(Rule rule, Node node, RuleContext ctx)`

Method parameters in net.sourceforge.pmd.lang.ecmascript.rule with type arguments of type Node
Modifier and Type | Method and Description
--- | ---
`void` | AbstractEcmascriptRule.`apply(List<? extends Node> nodes, RuleContext ctx)`
`protected void` | EcmascriptRuleChainVisitor.`indexNodes(List<Node> nodes, RuleContext ctx)`
`protected void` | AbstractEcmascriptRule.`visitAll(List<? extends Node> nodes, RuleContext ctx)`

### Uses of Node in net.sourceforge.pmd.lang.java

Methods in net.sourceforge.pmd.lang.java that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | AbstractJavaParser.`parse(String fileName, Reader source)`

Methods in net.sourceforge.pmd.lang.java with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`DataFlowNode` | JavaDataFlowHandler.`createDataFlowNode(List<DataFlowNode> dataFlow, Node node)`

### Uses of Node in net.sourceforge.pmd.lang.java.ast

Subinterfaces of Node in net.sourceforge.pmd.lang.java.ast
Modifier and Type | Interface and Description
--- | ---
`interface` | `JavaNode`

Classes in net.sourceforge.pmd.lang.java.ast that implement Node
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractJavaAccessNode`
`class` | `AbstractJavaAccessTypeNode`
`class` | `AbstractJavaNode`
`class` | `AbstractJavaTypeNode` An extension of the SimpleJavaNode which implements the TypeNode interface.
`class` | `ASTAdditiveExpression`
`class` | `ASTAllocationExpression`
`class` | `ASTAndExpression`
`class` | `ASTAnnotation`
`class` | `ASTAnnotationMethodDeclaration`
`class` | `ASTAnnotationTypeBody`
`class` | `ASTAnnotationTypeDeclaration`
`class` | `ASTAnnotationTypeMemberDeclaration`
`class` | `ASTArgumentList`
`class` | `ASTArguments`
`class` | `ASTArrayDimsAndInits`
`class` | `ASTArrayInitializer`
`class` | `ASTAssertStatement`
`class` | `ASTAssignmentOperator`
`class` | `ASTBlock`
`class` | `ASTBlockStatement`
`class` | `ASTBooleanLiteral`
`class` | `ASTBreakStatement`
`class` | `ASTCastExpression`
`class` | `ASTCatchStatement`
`class` | `ASTClassOrInterfaceBody`
`class` | `ASTClassOrInterfaceBodyDeclaration`
`class` | `ASTClassOrInterfaceDeclaration`
`class` | `ASTClassOrInterfaceType`
`class` | `ASTCompilationUnit`
`class` | `ASTConditionalAndExpression`
`class` | `ASTConditionalExpression`
`class` | `ASTConditionalOrExpression`
`class` | `ASTConstructorDeclaration`
`class` | `ASTContinueStatement`
`class` | `ASTDefaultValue`
`class` | `ASTDoStatement`
`class` | `ASTEmptyStatement`
`class` | `ASTEnumBody`
`class` | `ASTEnumConstant`
`class` | `ASTEnumDeclaration`
`class` | `ASTEqualityExpression`
`class` | `ASTExclusiveOrExpression`
`class` | `ASTExplicitConstructorInvocation`
`class` | `ASTExpression`
`class` | `ASTExtendsList`
`class` | `ASTFieldDeclaration`
`class` | `ASTFinallyStatement`
`class` | `ASTForInit`
`class` | `ASTFormalParameter`
`class` | `ASTFormalParameters`
`class` | `ASTForStatement`
`class` | `ASTForUpdate`
`class` | `ASTIfStatement`
`class` | `ASTImplementsList`
`class` | `ASTImportDeclaration`
`class` | `ASTInclusiveOrExpression`
`class` | `ASTInitializer`
`class` | `ASTInstanceOfExpression`
`class` | `ASTLabeledStatement`
`class` | `ASTLiteral`
`class` | `ASTLocalVariableDeclaration`
`class` | `ASTMarkerAnnotation`
`class` | `ASTMemberSelector`
`class` | `ASTMemberValue`
`class` | `ASTMemberValueArrayInitializer`
`class` | `ASTMemberValuePair`
`class` | `ASTMemberValuePairs`
`class` | `ASTMethodDeclaration`
`class` | `ASTMethodDeclarator`
`class` | `ASTMultiplicativeExpression`
`class` | `ASTName`
`class` | `ASTNameList`
`class` | `ASTNormalAnnotation`
`class` | `ASTNullLiteral`
`class` | `ASTPackageDeclaration`
`class` | `ASTPostfixExpression`
`class` | `ASTPreDecrementExpression`
`class` | `ASTPreIncrementExpression`
`class` | `ASTPrimaryExpression`
`class` | `ASTPrimaryPrefix`
`class` | `ASTPrimarySuffix`
`class` | `ASTPrimitiveType`
`class` | `ASTReferenceType`
`class` | `ASTRelationalExpression`
`class` | `ASTResource`
`class` | `ASTResources`
`class` | `ASTResourceSpecification`
`class` | `ASTResultType`
`class` | `ASTReturnStatement`
`class` | `ASTRSIGNEDSHIFT`
`class` | `ASTRUNSIGNEDSHIFT`
`class` | `ASTShiftExpression`
`class` | `ASTSingleMemberAnnotation`
`class` | `ASTStatement`
`class` | `ASTStatementExpression`
`class` | `ASTStatementExpressionList`
`class` | `ASTSwitchLabel`
`class` | `ASTSwitchStatement`
`class` | `ASTSynchronizedStatement`
`class` | `ASTThrowStatement`
`class` | `ASTTryStatement`
`class` | `ASTType`
`class` | `ASTTypeArgument`
`class` | `ASTTypeArguments`
`class` | `ASTTypeBound`
`class` | `ASTTypeDeclaration`
`class` | `ASTTypeParameter`
`class` | `ASTTypeParameters`
`class` | `ASTUnaryExpression`
`class` | `ASTUnaryExpressionNotPlusMinus`
`class` | `ASTVariableDeclarator`
`class` | `ASTVariableDeclaratorId`
`class` | `ASTVariableInitializer`
`class` | `ASTWhileStatement`
`class` | `ASTWildcardBounds`
`class` | `Comment`
`class` | `DummyJavaNode` This is a basic JavaNode implementation, useful when needing to create a dummy node.
`class` | `FormalComment`
`class` | `JavadocElement`
`class` | `MultiLineComment`
`class` | `SingleLineComment`

Methods in net.sourceforge.pmd.lang.java.ast that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | ASTVariableDeclaratorId.`getTypeNameNode()`
`Node` | JJTJavaParserState.`peekNode()`
`Node` | JJTJavaParserState.`popNode()`
`Node` | JJTJavaParserState.`rootNode()`

Methods in net.sourceforge.pmd.lang.java.ast with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`void` | JJTJavaParserState.`clearNodeScope(Node n)`
`void` | JJTJavaParserState.`closeNodeScope(Node n, boolean condition)`
`void` | JJTJavaParserState.`closeNodeScope(Node n, int num)`
`void` | JJTJavaParserState.`openNodeScope(Node n)`
`void` | JJTJavaParserState.`pushNode(Node n)`

### Uses of Node in net.sourceforge.pmd.lang.java.dfa

Constructors in net.sourceforge.pmd.lang.java.dfa with parameters of type Node
Constructor and Description
`JavaDataFlowNode(List<DataFlowNode> dataFlow, Node node)`

### Uses of Node in net.sourceforge.pmd.lang.java.rule

Methods in net.sourceforge.pmd.lang.java.rule that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | ImportWrapper.`getNode()`

Methods in net.sourceforge.pmd.lang.java.rule with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected RuleViolation` | JavaRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)`
`protected RuleViolation` | JavaRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)`
`protected String` | AbstractJavaRule.`getDeclaringType(Node node)` Gets the Image of the first parent node of type ASTClassOrInterfaceDeclaration or `null`
`static boolean` | AbstractJavaRule.`isQualifiedName(Node node)`
`protected abstract boolean` | AbstractPoorMethodCall.`isViolationArgument(Node arg)` Returns whether the node being sent to the method is OK or not.
`protected void` | JavaRuleChainVisitor.`visit(Rule rule, Node node, RuleContext ctx)`

Method parameters in net.sourceforge.pmd.lang.java.rule with type arguments of type Node
Modifier and Type | Method and Description
--- | ---
`void` | AbstractJavaRule.`apply(List<? extends Node> nodes, RuleContext ctx)`
`void` | AbstractStatisticalJavaRule.`apply(List<? extends Node> nodes, RuleContext ctx)`
`protected void` | JavaRuleChainVisitor.`indexNodes(List<Node> nodes, RuleContext ctx)`
`protected void` | AbstractJavaRule.`visitAll(List<? extends Node> nodes, RuleContext ctx)`

Constructors in net.sourceforge.pmd.lang.java.rule with parameters of type Node
Constructor and Description
`ImportWrapper(String fullname, String name, Node node)`

### Uses of Node in net.sourceforge.pmd.lang.java.rule.basic

Methods in net.sourceforge.pmd.lang.java.rule.basic with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected Object` | AvoidBranchingStatementAsLastInLoopRule.`check(EnumeratedMultiProperty<String> property, Node node, Object data)`

### Uses of Node in net.sourceforge.pmd.lang.java.rule.codesize

Methods in net.sourceforge.pmd.lang.java.rule.codesize with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected Integer` | AbstractNcssCountRule.`countNodeChildren(Node node, Object data)` Count the number of children of the given Java node.

### Uses of Node in net.sourceforge.pmd.lang.java.rule.controversial

Constructors in net.sourceforge.pmd.lang.java.rule.controversial with parameters of type Node
Constructor and Description
`DaaRuleViolation(Rule rule, RuleContext ctx, Node node, String type, String msg, String var, int beginLine, int endLine)`

### Uses of Node in net.sourceforge.pmd.lang.java.rule.imports

Methods in net.sourceforge.pmd.lang.java.rule.imports with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected void` | UnusedImportsRule.`check(Node node)`
`protected ImportWrapper` | UnusedImportsRule.`getImportWrapper(Node node)`

### Uses of Node in net.sourceforge.pmd.lang.java.rule.optimizations

Methods in net.sourceforge.pmd.lang.java.rule.optimizations with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`static boolean` | PrematureDeclarationRule.`hasAsParentBetween(Node node, Class<?> intermediateParentClass, Node topParent)` Return whether a class of the specified type exists between the node argument and the topParent argument.

### Uses of Node in net.sourceforge.pmd.lang.java.rule.strings

Methods in net.sourceforge.pmd.lang.java.rule.strings with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected static boolean` | InefficientStringBufferingRule.`isInStringBufferOperation(Node node, int length, String methodName)`
`protected boolean` | UseIndexOfCharRule.`isViolationArgument(Node arg)` Returns whether the node being sent to the method is OK or not.

### Uses of Node in net.sourceforge.pmd.lang.java.rule.sunsecure

Methods in net.sourceforge.pmd.lang.java.rule.sunsecure with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected String` | AbstractSunSecureRule.`getFirstNameImage(Node n)` Gets the image of the first ASTName node found by `getFirstDescendantOfType(Class)`
`protected boolean` | AbstractSunSecureRule.`isLocalVariable(String vn, Node node)` TODO modify usages to use symbol table Tells if the variable name is a local variable declared in the method.

### Uses of Node in net.sourceforge.pmd.lang.java.rule.unnecessary

Methods in net.sourceforge.pmd.lang.java.rule.unnecessary with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`<T> List<T>` | UselessOverridingMethodRule.`findFirstDegreeChildrenOfType(Node n, Class<T> targetType)`

### Uses of Node in net.sourceforge.pmd.lang.java.symboltable

Constructors in net.sourceforge.pmd.lang.java.symboltable with parameters of type Node
Constructor and Description
`MethodScope(Node node)`

### Uses of Node in net.sourceforge.pmd.lang.java.typeresolution.rules.imports

Methods in net.sourceforge.pmd.lang.java.typeresolution.rules.imports with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected void` | UnusedImports.`check(Node node)`

### Uses of Node in net.sourceforge.pmd.lang.java.xpath

Methods in net.sourceforge.pmd.lang.java.xpath with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`static boolean` | TypeOfFunction.`typeof(Node n, String nodeTypeName, String fullTypeName, String shortTypeName)`

### Uses of Node in net.sourceforge.pmd.lang.jsp

Methods in net.sourceforge.pmd.lang.jsp that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | JspParser.`parse(String fileName, Reader source)`

### Uses of Node in net.sourceforge.pmd.lang.jsp.ast

Subinterfaces of Node in net.sourceforge.pmd.lang.jsp.ast
Modifier and Type | Interface and Description
--- | ---
`interface` | `JspNode`

Classes in net.sourceforge.pmd.lang.jsp.ast that implement Node
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractJspNode`
`class` | `ASTAttribute`
`class` | `ASTAttributeValue`
`class` | `ASTCData`
`class` | `ASTCommentTag`
`class` | `ASTContent`
`class` | `ASTDeclaration`
`class` | `ASTDoctypeDeclaration`
`class` | `ASTDoctypeExternalId`
`class` | `ASTElement`
`class` | `ASTElExpression`
`class` | `ASTHtmlScript`
`class` | `ASTJspComment`
`class` | `ASTJspDeclaration`
`class` | `ASTJspDeclarations`
`class` | `ASTJspDirective`
`class` | `ASTJspDirectiveAttribute`
`class` | `ASTJspDocument`
`class` | `ASTJspExpression`
`class` | `ASTJspExpressionInAttribute`
`class` | `ASTJspScriptlet`
`class` | `ASTText`
`class` | `ASTUnparsedText`
`class` | `ASTValueBinding`

Methods in net.sourceforge.pmd.lang.jsp.ast that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | JJTJspParserState.`peekNode()`
`Node` | JJTJspParserState.`popNode()`
`Node` | JJTJspParserState.`rootNode()`

Methods in net.sourceforge.pmd.lang.jsp.ast with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`void` | JJTJspParserState.`clearNodeScope(Node n)`
`void` | JJTJspParserState.`closeNodeScope(Node n, boolean condition)`
`void` | JJTJspParserState.`closeNodeScope(Node n, int num)`
`void` | JJTJspParserState.`openNodeScope(Node n)`
`void` | JJTJspParserState.`pushNode(Node n)`

### Uses of Node in net.sourceforge.pmd.lang.jsp.rule

Methods in net.sourceforge.pmd.lang.jsp.rule with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected RuleViolation` | JspRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)`
`protected RuleViolation` | JspRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)`
`protected void` | JspRuleChainVisitor.`visit(Rule rule, Node node, RuleContext ctx)`

Method parameters in net.sourceforge.pmd.lang.jsp.rule with type arguments of type Node
Modifier and Type | Method and Description
--- | ---
`void` | AbstractJspRule.`apply(List<? extends Node> nodes, RuleContext ctx)`
`protected void` | JspRuleChainVisitor.`indexNodes(List<Node> nodes, RuleContext ctx)`
`protected void` | AbstractJspRule.`visitAll(List<? extends Node> nodes, RuleContext ctx)`

### Uses of Node in net.sourceforge.pmd.lang.jsp.rule.basic

Method parameters in net.sourceforge.pmd.lang.jsp.rule.basic with type arguments of type Node
Modifier and Type | Method and Description
--- | ---
`void` | DuplicateJspImportsRule.`apply(List<? extends Node> nodes, RuleContext ctx)`

### Uses of Node in net.sourceforge.pmd.lang.rule

Classes in net.sourceforge.pmd.lang.rule with type parameters of type Node
Modifier and Type | Class and Description
--- | ---
`class` | `ParametricRuleViolation<T extends Node>`

Fields in net.sourceforge.pmd.lang.rule with type parameters of type Node
Modifier and Type | Field and Description
--- | ---
`protected Map<String,List<Node>>` | AbstractRuleChainVisitor.`nodeNameToNodes` This is a mapping from node names to nodes instances for the current AST.

Methods in net.sourceforge.pmd.lang.rule with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`void` | AbstractRule.`addViolation(Object data, Node node)`
`void` | AbstractRule.`addViolation(Object data, Node node, Object[] args)`
`void` | AbstractRule.`addViolation(Object data, Node node, String arg)`
`void` | RuleViolationFactory.`addViolation(RuleContext ruleContext, Rule rule, Node node, String message, int beginLine, int endLine, Object[] args)`
`void` | AbstractRuleViolationFactory.`addViolation(RuleContext ruleContext, Rule rule, Node node, String message, int beginLine, int endLine, Object[] args)`
`void` | RuleViolationFactory.`addViolation(RuleContext ruleContext, Rule rule, Node node, String message, Object[] args)` Adds a violation to the report.
`void` | AbstractRuleViolationFactory.`addViolation(RuleContext ruleContext, Rule rule, Node node, String message, Object[] args)`
`void` | AbstractRule.`addViolationWithMessage(Object data, Node node, String message)`
`void` | AbstractRule.`addViolationWithMessage(Object data, Node node, String message, int beginLine, int endLine)`
`void` | AbstractRule.`addViolationWithMessage(Object data, Node node, String message, Object[] args)`
`protected abstract RuleViolation` | AbstractRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)`
`protected abstract RuleViolation` | AbstractRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)`
`void` | XPathRule.`evaluate(Node node, RuleContext data)` Evaluate the XPath query with the AST node.
`protected void` | AbstractRuleChainVisitor.`indexNode(Node node)` Index a single node for visitation by rules.
`protected abstract void` | AbstractRuleChainVisitor.`visit(Rule rule, Node node, RuleContext ctx)` Visit the given rule to the given node.

Method parameters in net.sourceforge.pmd.lang.rule with type arguments of type Node
Modifier and Type | Method and Description
--- | ---
`void` | AbstractRule.`addRuleChainVisit(Class<? extends Node> nodeClass)`
`void` | AbstractDelegateRule.`addRuleChainVisit(Class<? extends Node> nodeClass)`
`void` | MockRule.`apply(List<? extends Node> nodes, RuleContext ctx)`
`void` | AbstractDelegateRule.`apply(List<? extends Node> nodes, RuleContext ctx)`
`void` | XPathRule.`apply(List<? extends Node> nodes, RuleContext ctx)` Apply the rule to all nodes.
`protected abstract void` | AbstractRuleChainVisitor.`indexNodes(List<Node> nodes, RuleContext ctx)` Index all nodes for visitation by rules.
`void` | AbstractRuleChainVisitor.`visitAll(List<Node> nodes, RuleContext ctx)`
`void` | RuleChainVisitor.`visitAll(List<Node> nodes, RuleContext ctx)` Visit all the given Nodes provided using the given RuleContext.

### Uses of Node in net.sourceforge.pmd.lang.rule.xpath

Methods in net.sourceforge.pmd.lang.rule.xpath that return types with arguments of type Node
Modifier and Type | Method and Description
--- | ---
`List<Node>` | XPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.
`List<Node>` | SaxonXPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.
`abstract List<Node>` | AbstractXPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.
`List<Node>` | JaxenXPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.

Methods in net.sourceforge.pmd.lang.rule.xpath with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`List<Node>` | XPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.
`List<Node>` | SaxonXPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.
`abstract List<Node>` | AbstractXPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.
`List<Node>` | JaxenXPathRuleQuery.`evaluate(Node node, RuleContext data)` Evaluate the XPath query against the given Node.

### Uses of Node in net.sourceforge.pmd.lang.xml

Methods in net.sourceforge.pmd.lang.xml that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | XmlParser.`parse(String fileName, Reader source)`

### Uses of Node in net.sourceforge.pmd.lang.xml.ast

Subinterfaces of Node in net.sourceforge.pmd.lang.xml.ast
Modifier and Type | Interface and Description
--- | ---
`interface` | `XmlNode` This interface represents all XML AST nodes.

### Uses of Node in net.sourceforge.pmd.lang.xml.rule

Methods in net.sourceforge.pmd.lang.xml.rule with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`protected RuleViolation` | XmlRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)`
`protected RuleViolation` | XmlRuleViolationFactory.`createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)`
`protected void` | XmlRuleChainVisitor.`visit(Rule rule, Node node, RuleContext ctx)`

Method parameters in net.sourceforge.pmd.lang.xml.rule with type arguments of type Node
Modifier and Type | Method and Description
--- | ---
`void` | AbstractXmlRule.`apply(List<? extends Node> nodes, RuleContext ctx)`
`protected void` | XmlRuleChainVisitor.`indexNodes(List<Node> nodes, RuleContext ctx)`
`protected void` | AbstractXmlRule.`visitAll(List<? extends Node> nodes, RuleContext ctx)`

### Uses of Node in net.sourceforge.pmd.stat

Methods in net.sourceforge.pmd.stat that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | DataPoint.`getNode()`

Methods in net.sourceforge.pmd.stat with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`void` | DataPoint.`setNode(Node node)`

### Uses of Node in net.sourceforge.pmd.util.designer

Methods in net.sourceforge.pmd.util.designer with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`void` | CodeEditorTextPane.`select(Node node)`
`void` | DFAPanel.DFACanvas.`setMethod(Node node)`

### Uses of Node in net.sourceforge.pmd.util.viewer.gui.menu

Constructors in net.sourceforge.pmd.util.viewer.gui.menu with parameters of type Node
Constructor and Description
`ASTNodePopupMenu(ViewerModel model, Node node)`
`AttributesSubMenu(ViewerModel model, Node node)`
`SimpleNodeSubMenu(ViewerModel model, Node node)` constructs the submenu

### Uses of Node in net.sourceforge.pmd.util.viewer.model

Methods in net.sourceforge.pmd.util.viewer.model that return Node
Modifier and Type | Method and Description
--- | ---
`Node` | ViewerModel.`getRootNode()`
`Node` | SimpleNodeTreeNodeAdapter.`getSimpleNode()` retrieves the underlying node

Methods in net.sourceforge.pmd.util.viewer.model that return types with arguments of type Node
Modifier and Type | Method and Description
--- | ---
`List<Node>` | ViewerModel.`getLastEvaluationResults()` retrieves the results of last evaluation

Methods in net.sourceforge.pmd.util.viewer.model with parameters of type Node
Modifier and Type | Method and Description
--- | ---
`void` | ViewerModel.`selectNode(Node node, Object selector)` selects the given node in the AST

Constructors in net.sourceforge.pmd.util.viewer.model with parameters of type Node
Constructor and Description
`ASTModel(Node root)` creates the tree model
`SimpleNodeTreeNodeAdapter(SimpleNodeTreeNodeAdapter parent, Node node)` constructs the node