T
- RuleViolation
public class ApexRuleViolation<T> extends net.sourceforge.pmd.lang.rule.ParametricRuleViolation<net.sourceforge.pmd.lang.ast.Node>
beginColumn, beginLine, className, description, endColumn, endLine, filename, methodName, packageName, rule, suppressed, variableName
Constructor | Description |
---|---|
ApexRuleViolation(Rule rule,
RuleContext ctx,
net.sourceforge.pmd.lang.ast.Node node,
java.lang.String message) |
|
ApexRuleViolation(Rule rule,
RuleContext ctx,
net.sourceforge.pmd.lang.ast.Node 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 ApexRuleViolation(Rule rule, RuleContext ctx, net.sourceforge.pmd.lang.ast.Node node, java.lang.String message, int beginLine, int endLine)
public ApexRuleViolation(Rule rule, RuleContext ctx, net.sourceforge.pmd.lang.ast.Node 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.