public class ClassPathBuilder extends java.lang.Object implements IClassPathBuilder
Modifier and Type | Method and Description |
---|---|
void |
addCodeBase(ICodeBaseLocator locator,
boolean isApplication)
Add a project codebase.
|
void |
build(IClassPath classPath,
IClassPathBuilderProgress progress)
Build the classpath.
|
java.util.List<ClassDescriptor> |
getAppClassList()
Get the list of application classes discovered while scanning the
classpath.
|
void |
scanNestedArchives(boolean scanNestedArchives)
Set whether or not nested archives should be scanned.
|
public void addCodeBase(ICodeBaseLocator locator, boolean isApplication)
IClassPathBuilder
addCodeBase
in interface IClassPathBuilder
locator
- locator for project codebaseisApplication
- true if the codebase is an application codebase, false
otherwisepublic void scanNestedArchives(boolean scanNestedArchives)
IClassPathBuilder
scanNestedArchives
in interface IClassPathBuilder
scanNestedArchives
- true if nested archives should be scanned, false otherwisepublic void build(IClassPath classPath, IClassPathBuilderProgress progress) throws CheckedAnalysisException, java.io.IOException, java.lang.InterruptedException
IClassPathBuilder
build
in interface IClassPathBuilder
classPath
- IClassPath object to buildprogress
- IClassPathBuilderProgress callbackResourceNotFoundException
java.io.IOException
java.lang.InterruptedException
CheckedAnalysisException
public java.util.List<ClassDescriptor> getAppClassList()
IClassPathBuilder
getAppClassList
in interface IClassPathBuilder
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.