Package edu.umd.cs.findbugs
Class Project.WorkList
java.lang.Object
edu.umd.cs.findbugs.Project.WorkList
- Enclosing class:
Project
Worklist for finding implicit classpath entries.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final LinkedList
<Project.WorkListItem> private static final org.slf4j.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
add
(Project.WorkListItem item) Add a worklist item.createRelativeURL
(URL base, String fileName) Create a URL of a file relative to another URL.Create a URL from a filename specified in the project file.Get the next item in the worklist.boolean
isEmpty()
Return whether or not the worklist is empty.
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
itemList
-
addedSet
-
-
Constructor Details
-
WorkList
public WorkList()Constructor. Creates an empty worklist.
-
-
Method Details
-
createURL
Create a URL from a filename specified in the project file.- Throws:
MalformedURLException
-
createRelativeURL
Create a URL of a file relative to another URL.- Throws:
MalformedURLException
-
add
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
Get the next item in the worklist.
-