Class Project.WorkList

java.lang.Object
edu.umd.cs.findbugs.Project.WorkList
Enclosing class:
Project

private static class Project.WorkList extends Object
Worklist for finding implicit classpath entries.
  • Field Details

  • Constructor Details

    • WorkList

      public WorkList()
      Constructor. Creates an empty worklist.
  • Method Details

    • createURL

      public URL createURL(String fileName) throws MalformedURLException
      Create a URL from a filename specified in the project file.
      Throws:
      MalformedURLException
    • createRelativeURL

      public URL createRelativeURL(URL base, String fileName) throws MalformedURLException
      Create a URL of a file relative to another URL.
      Throws:
      MalformedURLException
    • add

      public boolean add(Project.WorkListItem item)
      Add a worklist item.
      Parameters:
      item - the WorkListItem representing a zip/jar file to be examined
      Returns:
      true if the item was added, false if not (because it was examined already)
    • isEmpty

      public boolean isEmpty()
      Return whether or not the worklist is empty.
    • getNextItem

      public Project.WorkListItem getNextItem()
      Get the next item in the worklist.