com.puppycrawl.tools.checkstyle.filters
Class SuppressWarningsFilter
java.lang.Object
com.puppycrawl.tools.checkstyle.api.AutomaticBean
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
Method Summary |
boolean |
accept(AuditEvent aEvent)
Determines whether or not a filtered AuditEvent is accepted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuppressWarningsFilter
public SuppressWarningsFilter()
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.