Class SimpleSourceReferenceIterator

  • All Implemented Interfaces:
    CodeBlockReferenceIterator

    public class SimpleSourceReferenceIterator
    extends java.lang.Object
    implements CodeBlockReferenceIterator
    SimpleSourceReferenceIterator is a unidirectional iterator over the CodeBlockReferences for a CodeBlock. It is not failfast, whenever hasNext() are called it will find if there is a next CodeBlockReference and acquire a handle if there is one. If new code units are added to the listing after the iterator is created it will find them as it scans ahead.