net.sourceforge.pmd.dfa

Class DaaRuleViolation

public class DaaRuleViolation extends RuleViolation

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

Constructor Summary
DaaRuleViolation(Rule rule, RuleContext ctx, SimpleNode node, String type, String msg, String var, int beginLine, int endLine)
Method Summary
intgetBeginLine()
intgetEndLine()
StringgetType()
StringgetVariableName()

Constructor Detail

DaaRuleViolation

public DaaRuleViolation(Rule rule, RuleContext ctx, SimpleNode node, String type, String msg, String var, int beginLine, int endLine)

Method Detail

getBeginLine

public int getBeginLine()

getEndLine

public int getEndLine()

getType

public String getType()

getVariableName

public String getVariableName()