Package net.sourceforge.pmd.test.lang
Class DummyLanguageModule.RuleViolationFactory
- java.lang.Object
-
- net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
- net.sourceforge.pmd.test.lang.DummyLanguageModule.RuleViolationFactory
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.rule.RuleViolationFactory
- Enclosing class:
- DummyLanguageModule
public static class DummyLanguageModule.RuleViolationFactory extends net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
-
Constructor Summary
Constructors Constructor Description RuleViolationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.sourceforge.pmd.RuleViolationcreateRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ruleContext, net.sourceforge.pmd.lang.ast.Node node, java.lang.String message)protected net.sourceforge.pmd.RuleViolationcreateRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ruleContext, net.sourceforge.pmd.lang.ast.Node node, java.lang.String message, int beginLine, int endLine)
-
-
-
Method Detail
-
createRuleViolation
protected net.sourceforge.pmd.RuleViolation createRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ruleContext, net.sourceforge.pmd.lang.ast.Node node, java.lang.String message)- Specified by:
createRuleViolationin classnet.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
createRuleViolation
protected net.sourceforge.pmd.RuleViolation createRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ruleContext, net.sourceforge.pmd.lang.ast.Node node, java.lang.String message, int beginLine, int endLine)- Specified by:
createRuleViolationin classnet.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
-