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.errorprone.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
-
-
Constructor Summary
Constructors Constructor Description DaaRuleViolation(net.sourceforge.pmd.Rule rule, net.sourceforge.pmd.RuleContext ctx, net.sourceforge.pmd.lang.ast.Node node, java.lang.String type, java.lang.String msg, java.lang.String var, int beginLine, int endLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getType()
java.lang.String
getVariableName()
-
Methods inherited from class net.sourceforge.pmd.lang.java.rule.JavaRuleViolation
isSupressed
-
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
-
-
-
-
Method Detail
-
getVariableName
public java.lang.String getVariableName()
- Specified by:
getVariableName
in interfacenet.sourceforge.pmd.RuleViolation
- Overrides:
getVariableName
in classnet.sourceforge.pmd.lang.rule.ParametricRuleViolation<JavaNode>
-
getType
public java.lang.String getType()
-
-