edu.umd.cs.findbugs.classfile.impl
Class DelegatingCodeBaseIterator
java.lang.Object
edu.umd.cs.findbugs.classfile.impl.DelegatingCodeBaseIterator
- All Implemented Interfaces:
- ICodeBaseIterator
public class DelegatingCodeBaseIterator
- extends java.lang.Object
- implements ICodeBaseIterator
An implementation of ICodeBaseIterator that delegates to
another codebase. In particular, the codebase entries
it creates are DelegatingCodeBaseEntry objects.
- 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingCodeBaseIterator
public DelegatingCodeBaseIterator(ICodeBase frontEndCodeBase,
IScannableCodeBase delegateCodeBase)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
hasNext
public boolean hasNext()
throws java.lang.InterruptedException
- Description copied from interface:
ICodeBaseIterator
- Return true if there is another resource to be scanned,
false otherwise.
- Specified by:
hasNext
in interface ICodeBaseIterator
- Returns:
- true if there is another resource to be scanned,
false otherwise
- Throws:
java.lang.InterruptedException
next
public ICodeBaseEntry next()
throws java.lang.InterruptedException
- Description copied from interface:
ICodeBaseIterator
- Get the ICodeBaseEntry representing the next resource in the code base.
- Specified by:
next
in interface ICodeBaseIterator
- Returns:
- the ICodeBaseEntry representing the next resource in the code base
- Throws:
java.lang.InterruptedException
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.