edu.umd.cs.findbugs
public abstract class QueryBugAnnotations extends Object
Method Summary | |
---|---|
void | addKeyword(String keyword)
Add a keyword to the query.
|
protected abstract void | match(BugInstance bugInstance, String filename)
Called when a bug instance contains a query keyword.
|
void | scan(String filename)
Scan bug instances contained in given file,
reporting those whose text annotations contain at least
one of the keywords in the query.
|
void | scan(BugCollection bugCollection, String filename)
Scan bug instances contained in given bug collection,
reporting those whose text annotations contain at least
one of the keywords in the query.
|
Parameters: keyword the keyword
Parameters: bugInstance the bug instance containing the keyword filename name of the file containing the bug instance
Parameters: filename an XML file containing bug instances
Parameters: bugCollection the bug collection filename the XML file from which the bug collection was read