edu.umd.cs.findbugs.filter

Interface Matcher

public interface Matcher

Match BugInstances for some feature.

Author: David Hovemeyer

Method Summary
booleanmatch(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this Matcher tests for.
voidwriteXML(XMLOutput xmlOutput, boolean disabled)

Method Detail

match

public boolean match(BugInstance bugInstance)
Determine whether or not the given BugInstance has the feature this Matcher tests for.

Parameters: bugInstance the BugInstance

Returns: true if the BugInstance matches, false if not

writeXML

public void writeXML(XMLOutput xmlOutput, boolean disabled)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.