net.sourceforge.pmd.rules
public abstract class AbstractPoorMethodCall extends AbstractRule
Version: $Revision: 6422 $
Method Summary | |
---|---|
protected abstract boolean | isViolationArgument(Node arg)
Returns whether the node being sent to the method is OK or not. |
protected abstract String[] | methodNames()
Return the names of all the methods we are scanning for, no brackets or
argument types.
|
protected abstract String | targetTypename()
The name of the type the method will be invoked against. |
Object | visit(ASTVariableDeclaratorId node, Object data)
Method visit. |
Parameters: arg the node to inspect
Returns: boolean
Returns: String[]
Returns: String
Parameters: node ASTVariableDeclaratorId data Object
Returns: Object
See Also: JavaParserVisitor