Class ClassPathBuilder
java.lang.Object
edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder
- All Implemented Interfaces:
IClassPathBuilder
Implementation of IClassPathBuilder.
- Author:
- David Hovemeyer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCodeBase
(ICodeBaseLocator locator, boolean isApplication) Add a project codebase.void
build
(IClassPath classPath, IClassPathBuilderProgress progress) Build the classpath.Get the list of application classes discovered while scanning the classpath.void
scanNestedArchives
(boolean scanNestedArchives) Set whether or not nested archives should be scanned.
-
Method Details
-
addCodeBase
Description copied from interface:IClassPathBuilder
Add a project codebase.- Specified by:
addCodeBase
in interfaceIClassPathBuilder
- Parameters:
locator
- locator for project codebaseisApplication
- true if the codebase is an application codebase, false otherwise
-
scanNestedArchives
public void scanNestedArchives(boolean scanNestedArchives) Description copied from interface:IClassPathBuilder
Set whether or not nested archives should be scanned. This should be called before the build() method is called.- Specified by:
scanNestedArchives
in interfaceIClassPathBuilder
- Parameters:
scanNestedArchives
- true if nested archives should be scanned, false otherwise
-
build
public void build(IClassPath classPath, IClassPathBuilderProgress progress) throws CheckedAnalysisException, IOException, InterruptedException Description copied from interface:IClassPathBuilder
Build the classpath.- Specified by:
build
in interfaceIClassPathBuilder
- Parameters:
classPath
- IClassPath object to buildprogress
- IClassPathBuilderProgress callback- Throws:
ResourceNotFoundException
IOException
InterruptedException
CheckedAnalysisException
-
getAppClassList
Description copied from interface:IClassPathBuilder
Get the list of application classes discovered while scanning the classpath.- Specified by:
getAppClassList
in interfaceIClassPathBuilder
- Returns:
- list of application classes
-