net.sourceforge.pmd.lang.java.rule.controversial
Class DaaRuleViolation
java.lang.Object
net.sourceforge.pmd.lang.rule.ParametricRuleViolation<JavaNode>
net.sourceforge.pmd.lang.java.rule.JavaRuleViolation
net.sourceforge.pmd.lang.java.rule.controversial.DaaRuleViolation
- All Implemented Interfaces:
- 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
Fields inherited from class net.sourceforge.pmd.lang.rule.ParametricRuleViolation |
beginColumn, beginLine, className, description, endColumn, endLine, filename, methodName, packageName, rule, suppressed |
Methods inherited from class net.sourceforge.pmd.lang.rule.ParametricRuleViolation |
expandVariables, getBeginColumn, getBeginLine, getClassName, getDescription, getEndColumn, getEndLine, getFilename, getMethodName, getPackageName, getRule, getVariableValue, isSuppressed, isVariable, setLines, toString |
DaaRuleViolation
public DaaRuleViolation(Rule rule,
RuleContext ctx,
Node node,
String type,
String msg,
String var,
int beginLine,
int endLine)
getVariableName
public String getVariableName()
- Specified by:
getVariableName
in interface RuleViolation
- Overrides:
getVariableName
in class ParametricRuleViolation<JavaNode>
getType
public String getType()
Copyright © 2002-2016 InfoEther. All Rights Reserved.