RuleViolation
DaaRuleViolation
public class JavaRuleViolation extends net.sourceforge.pmd.lang.rule.ParametricRuleViolation<JavaNode>
beginColumn, beginLine, className, description, endColumn, endLine, filename, methodName, packageName, rule, suppressed, variableName
Constructor | Description |
---|---|
JavaRuleViolation(Rule rule,
RuleContext ctx,
JavaNode node,
java.lang.String message) |
|
JavaRuleViolation(Rule rule,
RuleContext ctx,
JavaNode node,
java.lang.String message,
int beginLine,
int endLine) |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isSupressed(net.sourceforge.pmd.lang.ast.Node node,
Rule rule) |
Check for suppression on this node, on parents, and on contained types
for ASTCompilationUnit
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
expandVariables, getBeginColumn, getBeginLine, getClassName, getDescription, getEndColumn, getEndLine, getFilename, getMethodName, getPackageName, getRule, getVariableName, getVariableValue, isSuppressed, isVariable, setLines, toString
public JavaRuleViolation(Rule rule, RuleContext ctx, JavaNode node, java.lang.String message, int beginLine, int endLine)
public JavaRuleViolation(Rule rule, RuleContext ctx, JavaNode node, java.lang.String message)
public static boolean isSupressed(net.sourceforge.pmd.lang.ast.Node node, Rule rule)
node
- Copyright © 2002–2018 PMD. All rights reserved.