com.puppycrawl.tools.checkstyle.filters
Class SuppressWarningsFilter

java.lang.Object
  extended by com.puppycrawl.tools.checkstyle.api.AutomaticBean
      extended by com.puppycrawl.tools.checkstyle.filters.SuppressWarningsFilter
All Implemented Interfaces:
Configurable, Contextualizable, Filter

public class SuppressWarningsFilter
extends AutomaticBean
implements Filter

A filter that suppresses warnings using the SuppressWarnings annotation.

Author:
Trevor Robinson

Constructor Summary
SuppressWarningsFilter()
           
 
Method Summary
 boolean accept(AuditEvent aEvent)
          Determines whether or not a filtered AuditEvent is accepted.
 
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuppressWarningsFilter

public SuppressWarningsFilter()
Method Detail

accept

public boolean accept(AuditEvent aEvent)
Determines whether or not a filtered AuditEvent is accepted.

Specified by:
accept in interface Filter
Parameters:
aEvent - the AudtiEvent to filter.
Returns:
true if the aEvent is accepted.


Copyright © 2001-2014. All Rights Reserved.