Class CFG.LocationIterator

java.lang.Object
edu.umd.cs.findbugs.ba.CFG.LocationIterator
All Implemented Interfaces:
Iterator<Location>
Enclosing class:
CFG

private class CFG.LocationIterator extends Object implements Iterator<Location>
An Iterator over the Locations in the CFG. Because of JSR subroutines, the same instruction may actually be part of multiple basic blocks (with different facts true in each, due to calling context). Locations specify both the instruction and the basic block.
  • Field Details

    • blockIter

      private final Iterator<BasicBlock> blockIter
    • curBlock

      private BasicBlock curBlock
    • instructionIter

      private Iterator<org.apache.bcel.generic.InstructionHandle> instructionIter
    • next

      private Location next
  • Constructor Details

    • LocationIterator

      private LocationIterator()
  • Method Details