edu.umd.cs.findbugs
Interface FindBugs.ClassProducer

All Known Implementing Classes:
FindBugs.DirectoryClassProducer, FindBugs.SingleClassProducer, FindBugs.ZipClassProducer
Enclosing class:
FindBugs

private static interface FindBugs.ClassProducer

Interface for an object representing a source of class files to analyze.


Method Summary
 void close()
          Close any internal files or streams.
 boolean containsSourceFiles()
          Did this class producer scan any Java source files?
 org.apache.bcel.classfile.JavaClass getNextClass()
          Get the next class to analyze.
 

Method Detail

getNextClass

org.apache.bcel.classfile.JavaClass getNextClass()
                                                 throws java.io.IOException,
                                                        java.lang.InterruptedException
Get the next class to analyze.

Returns:
the class, or null of there are no more classes for this ClassProducer
Throws:
java.io.IOException - if an IOException occurs
java.lang.InterruptedException - if the thread is interrupted

containsSourceFiles

boolean containsSourceFiles()
Did this class producer scan any Java source files?


close

void close()
Close any internal files or streams.