org.codenarc.analyzer
Class SuppressionAnalyzer

java.lang.Object
  extended by 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.


Constructor Summary
SuppressionAnalyzer(SourceCode source)
           
 
Method Summary
 List<Violation> filterSuppressedViolations(Iterable<Violation> violations)
           
 boolean isRuleSuppressed(Rule rule)
           
 boolean isViolationSuppressed(Violation violation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuppressionAnalyzer

public SuppressionAnalyzer(SourceCode source)
Method Detail

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.