Package edu.umd.cs.findbugs.classfile
Interface ICodeBaseIterator
- All Known Implementing Classes:
DelegatingCodeBaseIterator
,JrtfsCodeBase.JrtfsCodeBaseIterator
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 Details
-
hasNext
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:
InterruptedException
-
next
Get the ICodeBaseEntry representing the next resource in the code base.- Returns:
- the ICodeBaseEntry representing the next resource in the code base
- Throws:
InterruptedException
-