Class ScalaRuleViolationFactory
- java.lang.Object
-
- net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
- net.sourceforge.pmd.lang.scala.rule.ScalaRuleViolationFactory
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.rule.RuleViolationFactory
public class ScalaRuleViolationFactory extends net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
A RuleViolationFactory for Scala.
-
-
Field Summary
Fields Modifier and Type Field Description static net.sourceforge.pmd.lang.rule.RuleViolationFactory
INSTANCE
The shared singleton of this RuleViolationFactory.
-
Constructor Summary
Constructors Constructor Description ScalaRuleViolationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.sourceforge.pmd.RuleViolation
createRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ruleContext, net.sourceforge.pmd.lang.ast.Node node, String message)
protected net.sourceforge.pmd.RuleViolation
createRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ruleContext, net.sourceforge.pmd.lang.ast.Node node, 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, String message)
- Specified by:
createRuleViolation
in 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, String message, int beginLine, int endLine)
- Specified by:
createRuleViolation
in classnet.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
-