Class DelegatingCodeBaseIterator
java.lang.Object
edu.umd.cs.findbugs.classfile.impl.DelegatingCodeBaseIterator
- All Implemented Interfaces:
ICodeBaseIterator
An implementation of ICodeBaseIterator that delegates to another codebase. In
particular, the codebase entries it creates are DelegatingCodeBaseEntry
objects.
- Author:
- David Hovemeyer
-
Constructor Summary
ConstructorDescriptionDelegatingCodeBaseIterator
(ICodeBase frontEndCodeBase, IScannableCodeBase delegateCodeBase) -
Method Summary
-
Constructor Details
-
DelegatingCodeBaseIterator
public DelegatingCodeBaseIterator(ICodeBase frontEndCodeBase, IScannableCodeBase delegateCodeBase) throws InterruptedException - Throws:
InterruptedException
-
-
Method Details
-
hasNext
Description copied from interface:ICodeBaseIterator
Return true if there is another resource to be scanned, false otherwise.- Specified by:
hasNext
in interfaceICodeBaseIterator
- Returns:
- true if there is another resource to be scanned, false otherwise
- Throws:
InterruptedException
-
next
Description copied from interface:ICodeBaseIterator
Get the ICodeBaseEntry representing the next resource in the code base.- Specified by:
next
in interfaceICodeBaseIterator
- Returns:
- the ICodeBaseEntry representing the next resource in the code base
- Throws:
InterruptedException
-