net.sourceforge.pmd.ast
public class ASTLocalVariableDeclaration extends AccessNode implements Dimensionable, CanSuppressWarnings
| Constructor Summary | |
|---|---|
| ASTLocalVariableDeclaration(int id) | |
| ASTLocalVariableDeclaration(JavaParser p, int id) | |
| Method Summary | |
|---|---|
| void | dump(String prefix) |
| int | getArrayDepth() |
| ASTType | getTypeNode() |
| String | getVariableName()
Gets the variable name of this field.
|
| boolean | hasSuppressWarningsAnnotationFor(Rule rule) |
| boolean | isArray() |
| Object | jjtAccept(JavaParserVisitor visitor, Object data)
Accept the visitor. |
null if the child node is not found.
Returns: a String representing the name of the variable