net.sourceforge.pmd.dfa
Class DaaRuleViolation
java.lang.Object
extended by net.sourceforge.pmd.RuleViolation
extended by net.sourceforge.pmd.dfa.DaaRuleViolation
- All Implemented Interfaces:
- IRuleViolation
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DaaRuleViolation
public DaaRuleViolation(Rule rule,
RuleContext ctx,
SimpleNode node,
java.lang.String type,
java.lang.String msg,
java.lang.String var,
int beginLine,
int endLine)
getVariableName
public java.lang.String getVariableName()
- Specified by:
getVariableName
in interface IRuleViolation
- Overrides:
getVariableName
in class RuleViolation
-
getBeginLine
public int getBeginLine()
- Specified by:
getBeginLine
in interface IRuleViolation
- Overrides:
getBeginLine
in class RuleViolation
-
getEndLine
public int getEndLine()
- Specified by:
getEndLine
in interface IRuleViolation
- Overrides:
getEndLine
in class RuleViolation
-
getType
public java.lang.String getType()
-
Copyright © 2002-2011 InfoEther. All Rights Reserved.