Class JavaRuleViolationFactory

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.rule.RuleViolationFactory

    @Deprecated
    @InternalApi
    public final class JavaRuleViolationFactory
    extends net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory
    Deprecated.
    See RuleViolationFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static net.sourceforge.pmd.lang.rule.RuleViolationFactory INSTANCE
      Deprecated.
       
    • Field Detail

      • INSTANCE

        public static final net.sourceforge.pmd.lang.rule.RuleViolationFactory INSTANCE
        Deprecated.
    • 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)
        Deprecated.
        Specified by:
        createRuleViolation in class net.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)
        Deprecated.
        Specified by:
        createRuleViolation in class net.sourceforge.pmd.lang.rule.AbstractRuleViolationFactory