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 TypeMethodDescriptionvoidaddCodeBase(ICodeBaseLocator locator, boolean isApplication) Add a project codebase.voidbuild(IClassPath classPath, IClassPathBuilderProgress progress) Build the classpath.Get the list of application classes discovered while scanning the classpath.voidscanNestedArchives(boolean scanNestedArchives) Set whether or not nested archives should be scanned.
-
Method Details
-
addCodeBase
Description copied from interface:IClassPathBuilderAdd a project codebase.- Specified by:
addCodeBasein 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:IClassPathBuilderSet whether or not nested archives should be scanned. This should be called before the build() method is called.- Specified by:
scanNestedArchivesin 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:IClassPathBuilderBuild the classpath.- Specified by:
buildin interfaceIClassPathBuilder- Parameters:
classPath- IClassPath object to buildprogress- IClassPathBuilderProgress callback- Throws:
ResourceNotFoundExceptionIOExceptionInterruptedExceptionCheckedAnalysisException
-
getAppClassList
Description copied from interface:IClassPathBuilderGet the list of application classes discovered while scanning the classpath.- Specified by:
getAppClassListin interfaceIClassPathBuilder- Returns:
- list of application classes
-