org.codenarc.analyzer
Class SuppressionAnalyzer
java.lang.Object
org.codenarc.analyzer.SuppressionAnalyzer
public class SuppressionAnalyzer
- extends Object
This class encapsulates all of the logic for determining if an rule is suppressed or not.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuppressionAnalyzer
public SuppressionAnalyzer(SourceCode source)
isRuleSuppressed
public boolean isRuleSuppressed(Rule rule)
filterSuppressedViolations
public List<Violation> filterSuppressedViolations(Iterable<Violation> violations)
isViolationSuppressed
public boolean isViolationSuppressed(Violation violation)
Copyright © 2012. All Rights Reserved.