edu.umd.cs.findbugs.classfile

Interface ICodeBaseIterator

  • All Known Implementing Classes:
    DelegatingCodeBaseIterator


    public interface ICodeBaseIterator
    Iterator over the resources in an IScannableCodeBase. Note that some of the methods can throw InterruptedException. This occurs when the analysis is canceled by interrupting the analysis thread.

    Note that the close() method must be called when done with an ICodeBaseIterator object.

    Author:
    David Hovemeyer
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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.

Copyright © 2003–2015. All rights reserved.