Package edu.umd.cs.findbugs.ba
Class BasicBlock.InstructionIterator
java.lang.Object
edu.umd.cs.findbugs.ba.BasicBlock.InstructionIterator
- All Implemented Interfaces:
Iterator<org.apache.bcel.generic.InstructionHandle>
- Enclosing class:
BasicBlock
public class BasicBlock.InstructionIterator
extends Object
implements Iterator<org.apache.bcel.generic.InstructionHandle>
A forward Iterator over the instructions of a basic block. The
duplicate() method can be used to make an exact copy of this iterator.
Calling next() on the duplicate will not affect the original, and vice
versa.
-
Constructor Summary
ConstructorsConstructorDescriptionInstructionIterator
(org.apache.bcel.generic.InstructionHandle first, org.apache.bcel.generic.InstructionHandle last) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
InstructionIterator
public InstructionIterator(org.apache.bcel.generic.InstructionHandle first, org.apache.bcel.generic.InstructionHandle last)
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
public org.apache.bcel.generic.InstructionHandle next() -
remove
public void remove() -
duplicate
-
equals
-
hashCode
public int hashCode() -
toString
-