edu.umd.cs.findbugs
Class FindExamples

java.lang.Object
  extended by edu.umd.cs.findbugs.QueryBugAnnotations
      extended by 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
           
 
Constructor Summary
FindExamples()
           
 
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 edu.umd.cs.findbugs.QueryBugAnnotations
addKeyword, scan, scan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

brief

private boolean brief

category

private java.lang.String category

first

private boolean first
Constructor Detail

FindExamples

public FindExamples()
Method Detail

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 keyword
filename - 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)