Class EcmascriptRuleViolationFactory
- java.lang.Object
-
- net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
- net.sourceforge.pmd.lang.ecmascript.rule.EcmascriptRuleViolationFactory
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.rule.RuleViolationFactory
public final class EcmascriptRuleViolationFactory extends net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
-
Field Summary
Fields Modifier and Type Field Description static EcmascriptRuleViolationFactoryINSTANCE
-
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, String message)protected net.sourceforge.pmd.RuleViolationcreateRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ruleContext, net.sourceforge.pmd.lang.ast.Node node, String message, int beginLine, int endLine)
-
-
-
Field Detail
-
INSTANCE
public static final EcmascriptRuleViolationFactory INSTANCE
-
-
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:
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, String message, int beginLine, int endLine)- Specified by:
createRuleViolationin classnet.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
-
-