Class DaaRuleViolation

  • All Implemented Interfaces:
    net.sourceforge.pmd.RuleViolation

    public class DaaRuleViolation
    extends JavaRuleViolation
    The RuleViolation is extended by the VariableName. The VariableName is required for showing what variable produces the UR DD or DU anomaly.
    Author:
    Sven Jacob, Brian Remedios
    • Field Summary

      • Fields inherited from class net.sourceforge.pmd.lang.rule.ParametricRuleViolation

        beginColumn, beginLine, className, description, endColumn, endLine, filename, methodName, packageName, rule, suppressed
    • Constructor Summary

      Constructors 
      Constructor Description
      DaaRuleViolation​(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ctx, net.sourceforge.pmd.lang.ast.Node node, String type, String msg, String var, int beginLine, int endLine)  
    • Constructor Detail

      • DaaRuleViolation

        public DaaRuleViolation​(net.sourceforge.pmd.Rule rule,
                                net.sourceforge.pmd.RuleContext ctx,
                                net.sourceforge.pmd.lang.ast.Node node,
                                String type,
                                String msg,
                                String var,
                                int beginLine,
                                int endLine)
    • Method Detail

      • getVariableName

        public String getVariableName()
        Specified by:
        getVariableName in interface net.sourceforge.pmd.RuleViolation
        Overrides:
        getVariableName in class net.sourceforge.pmd.lang.rule.ParametricRuleViolation<JavaNode>
      • getType

        public String getType()