Groovy Documentation

groovy.org.codenarc.analyzer
[Java] Class SuppressionAnalyzer

java.lang.Object
  groovy.org.codenarc.analyzer.SuppressionAnalyzer

public class SuppressionAnalyzer

This class encapsulates all of the logic for determining if an rule is suppressed or not.


Constructor Summary
SuppressionAnalyzer(SourceCode source)

 
Method Summary
List filterSuppressedViolations(Iterable violations)

boolean isRuleSuppressed(Rule rule)

boolean isViolationSuppressed(Violation violation)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

SuppressionAnalyzer

public SuppressionAnalyzer(SourceCode source)


 
Method Detail

filterSuppressedViolations

public List filterSuppressedViolations(Iterable violations)


isRuleSuppressed

public boolean isRuleSuppressed(Rule rule)


isViolationSuppressed

public boolean isViolationSuppressed(Violation violation)


 

Groovy Documentation