FindBugs™ 1.3.9

edu.umd.cs.findbugs.classfile
Interface ICodeBaseIterator

All Known Implementing Classes:
DelegatingCodeBaseIterator

public interface ICodeBaseIterator

Iterator over the resources in an IScannableCodeBase. Note that some of the methods can throw InterruptedException. This occurs when the analysis is canceled by interrupting the analysis thread.

Note that the close() method must be called when done with an ICodeBaseIterator object.

Author:
David Hovemeyer

Method Summary
 boolean hasNext()
          Return true if there is another resource to be scanned, false otherwise.
 ICodeBaseEntry next()
          Get the ICodeBaseEntry representing the next resource in the code base.
 

Method Detail

hasNext

boolean hasNext()
                throws java.lang.InterruptedException
Return true if there is another resource to be scanned, false otherwise.

Returns:
true if there is another resource to be scanned, false otherwise
Throws:
java.lang.InterruptedException

next

ICodeBaseEntry next()
                    throws java.lang.InterruptedException
Get the ICodeBaseEntry representing the next resource in the code base.

Returns:
the ICodeBaseEntry representing the next resource in the code base
Throws:
java.lang.InterruptedException

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.