edu.umd.cs.findbugs.classfile

Interface IClassPathBuilder

public interface IClassPathBuilder

Build a classpath. Takes a list of project codebases and

Author: David Hovemeyer

Method Summary
voidaddCodeBase(ICodeBaseLocator locator, boolean isApplication)
Add a project codebase.
voidbuild(IClassPath classPath, IClassPathBuilderProgress progress)
Build the classpath.
List<ClassDescriptor>getAppClassList()
Get the list of application classes discovered while scanning the classpath.
voidscanNestedArchives(boolean scanNestedArchives)
Set whether or not nested archives should be scanned.

Method Detail

addCodeBase

public void addCodeBase(ICodeBaseLocator locator, boolean isApplication)
Add a project codebase.

Parameters: locator locator for project codebase isApplication true if the codebase is an application codebase, false otherwise

build

public void build(IClassPath classPath, IClassPathBuilderProgress progress)
Build the classpath.

Parameters: classPath IClassPath object to build progress IClassPathBuilderProgress callback

Throws: ResourceNotFoundException IOException InterruptedException

getAppClassList

public List<ClassDescriptor> getAppClassList()
Get the list of application classes discovered while scanning the classpath.

Returns: list of application classes

scanNestedArchives

public void scanNestedArchives(boolean scanNestedArchives)
Set whether or not nested archives should be scanned. This should be called before the build() method is called.

Parameters: scanNestedArchives true if nested archives should be scanned, false otherwise

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.