|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.AnalysisContext
public class AnalysisContext
A context for analysis of a complete project. This serves as the repository for whole-program information and data structures.
Nested Class Summary | |
---|---|
private static class |
AnalysisContext.ClassContextCache
|
Field Summary | |
---|---|
java.util.Map |
analysisLocals
|
private AnalysisContext.ClassContextCache |
classContextCache
|
private static java.lang.InheritableThreadLocal |
currentAnalysisContext
|
private RepositoryLookupFailureCallback |
lookupFailureCallback
|
private static int |
MAX_SIZE
The maximum number of ClassContext objects to cache. |
private SourceFinder |
sourceFinder
|
Fields inherited from interface edu.umd.cs.findbugs.ba.AnalysisFeatures |
---|
CONSERVE_SPACE, WORK_HARD |
Constructor Summary | |
---|---|
AnalysisContext(RepositoryLookupFailureCallback lookupFailureCallback)
Constructor. |
Method Summary | |
---|---|
static AnalysisContext |
currentAnalysisContext()
Get the AnalysisContext associated with this thread |
ClassContext |
getClassContext(org.apache.bcel.classfile.JavaClass javaClass)
Get the ClassContext for a class. |
RepositoryLookupFailureCallback |
getLookupFailureCallback()
Get the lookup failure callback. |
SourceFinder |
getSourceFinder()
Get the SourceFinder, for finding source files. |
void |
setSourcePath(java.util.List<java.lang.String> sourcePath)
Set the source path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private RepositoryLookupFailureCallback lookupFailureCallback
private SourceFinder sourceFinder
private AnalysisContext.ClassContextCache classContextCache
public java.util.Map analysisLocals
private static java.lang.InheritableThreadLocal currentAnalysisContext
private static final int MAX_SIZE
Constructor Detail |
---|
public AnalysisContext(RepositoryLookupFailureCallback lookupFailureCallback)
Method Detail |
---|
public static AnalysisContext currentAnalysisContext()
public RepositoryLookupFailureCallback getLookupFailureCallback()
public void setSourcePath(java.util.List<java.lang.String> sourcePath)
public SourceFinder getSourceFinder()
public ClassContext getClassContext(org.apache.bcel.classfile.JavaClass javaClass)
javaClass
- the class
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |