net.sourceforge.pmd.ast
public class ASTBlockStatement extends SimpleJavaNode
Constructor Summary | |
---|---|
ASTBlockStatement(int id) | |
ASTBlockStatement(JavaParser p, int id) |
Method Summary | |
---|---|
boolean | isAllocation()
Tells if this BlockStatement is an allocation statement.
|
Object | jjtAccept(JavaParserVisitor visitor, Object data)
Accept the visitor. |
Returns: the result of !findChildrenOfType(ASTAllocationExpression.class).isEmpty()