|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.QueryBugAnnotations
public abstract class QueryBugAnnotations
Search for bug instances whose text annotations contain one of a set of keywords.
| Constructor Summary | |
|---|---|
QueryBugAnnotations()
|
|
| Method Summary | |
|---|---|
void |
addKeyword(java.lang.String keyword)
Add a keyword to the query. |
protected abstract void |
match(BugInstance bugInstance,
java.lang.String filename)
Called when a bug instance contains a query keyword. |
void |
scan(BugCollection bugCollection,
java.lang.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. |
void |
scan(java.lang.String filename)
Scan bug instances contained in given file, reporting those whose text annotations contain at least one of the keywords in the query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryBugAnnotations()
| Method Detail |
|---|
public void addKeyword(java.lang.String keyword)
keyword - the keyword
public void scan(java.lang.String filename)
throws java.lang.Exception
filename - an XML file containing bug instances
java.lang.Exception
public void scan(BugCollection bugCollection,
java.lang.String filename)
throws java.lang.Exception
bugCollection - the bug collectionfilename - the XML file from which the bug collection was read
java.lang.Exception
protected abstract void match(BugInstance bugInstance,
java.lang.String filename)
throws java.lang.Exception
bugInstance - the bug instance containing the keywordfilename - name of the file containing the bug instance
java.lang.Exception
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||