FindBugs™ 1.3.9

edu.umd.cs.findbugs.classfile.impl
Class ClassPathBuilder

java.lang.Object
  extended by edu.umd.cs.findbugs.classfile.impl.ClassPathBuilder
All Implemented Interfaces:
IClassPathBuilder

public class ClassPathBuilder
extends java.lang.Object
implements IClassPathBuilder

Implementation of IClassPathBuilder.

Author:
David Hovemeyer

Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addCodeBase

public void addCodeBase(ICodeBaseLocator locator,
                        boolean isApplication)
Description copied from interface: IClassPathBuilder
Add a project codebase.

Specified by:
addCodeBase in interface IClassPathBuilder
Parameters:
locator - locator for project codebase
isApplication - 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 interface IClassPathBuilder
Parameters:
scanNestedArchives - true if nested archives should be scanned, false otherwise

build

public void build(IClassPath classPath,
                  IClassPathBuilderProgress progress)
           throws CheckedAnalysisException,
                  java.io.IOException,
                  java.lang.InterruptedException
Description copied from interface: IClassPathBuilder
Build the classpath.

Specified by:
build in interface IClassPathBuilder
Parameters:
classPath - IClassPath object to build
progress - IClassPathBuilderProgress callback
Throws:
ResourceNotFoundException
java.io.IOException
java.lang.InterruptedException
CheckedAnalysisException

getAppClassList

public java.util.List<ClassDescriptor> getAppClassList()
Description copied from interface: IClassPathBuilder
Get the list of application classes discovered while scanning the classpath.

Specified by:
getAppClassList in interface IClassPathBuilder
Returns:
list of application classes

FindBugs™ 1.3.9

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