edu.umd.cs.findbugs
Class FindExamples
java.lang.Object
edu.umd.cs.findbugs.QueryBugAnnotations
edu.umd.cs.findbugs.FindExamples
public class FindExamples
- extends QueryBugAnnotations
Find bug instances annotated with "GOOD_EXAMPLE" or "EXCELLENT_EXAMPLE".
Field Summary |
private boolean |
brief
|
private java.lang.String |
category
|
private boolean |
first
|
Method Summary |
private void |
dumpBug(BugInstance bugInstance,
java.lang.String filename)
|
private void |
dumpBugBrief(BugInstance bugInstance)
|
void |
execute(java.lang.String[] argv)
|
static void |
main(java.lang.String[] argv)
|
protected void |
match(BugInstance bugInstance,
java.lang.String filename)
Called when a bug instance contains a query keyword. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
brief
private boolean brief
category
private java.lang.String category
first
private boolean first
FindExamples
public FindExamples()
main
public static void main(java.lang.String[] argv)
throws java.lang.Exception
- Throws:
java.lang.Exception
execute
public void execute(java.lang.String[] argv)
throws java.lang.Exception
- Throws:
java.lang.Exception
match
protected void match(BugInstance bugInstance,
java.lang.String filename)
throws java.lang.Exception
- Description copied from class:
QueryBugAnnotations
- Called when a bug instance contains a query keyword.
- Specified by:
match
in class QueryBugAnnotations
- Parameters:
bugInstance
- the bug instance containing the keywordfilename
- name of the file containing the bug instance
- Throws:
java.lang.Exception
dumpBugBrief
private void dumpBugBrief(BugInstance bugInstance)
throws java.lang.Exception
- Throws:
java.lang.Exception
dumpBug
private void dumpBug(BugInstance bugInstance,
java.lang.String filename)