net.sourceforge.pmd
Class FooRule
java.lang.Object
AbstractRule
net.sourceforge.pmd.FooRule
- Direct Known Subclasses:
- MockStatisticalRule
public class FooRule
- extends AbstractRule
Sample rule that detect any node with an image of "Foo". Used for testing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FooRule
public FooRule()
getMessage
public String getMessage()
getName
public String getName()
getRuleSetName
public String getRuleSetName()
getDescription
public String getDescription()
apply
public void apply(List<? extends Node> nodes,
RuleContext ctx)
apply
protected void apply(Node node,
RuleContext ctx)
Copyright © 2002–2015 InfoEther. All rights reserved.