Package | Description |
---|---|
edu.umd.cs.findbugs |
Main package for the FindBugs application - contains the
engine class (FindBugs), the object model classes for bug instances
(BugInstance, BugAnnotation), and other miscellany.
|
edu.umd.cs.findbugs.ba.jsr305 |
Support for analyzing code containing JSR-305 type qualifier annotations.
|
edu.umd.cs.findbugs.classfile |
A high-level abstraction layer for codebases, classes, and components of
classes (methods, fields, instructions, etc.).
|
edu.umd.cs.findbugs.classfile.engine |
Analysis engine classes to produce the analyses defined
in the edu.umd.cs.findbugs.classfile.analysis package.
|
edu.umd.cs.findbugs.classfile.engine.asm |
Support for analyses based on the ASM bytecode framework.
|
edu.umd.cs.findbugs.classfile.engine.bcel |
Support for analyses based on the BCEL bytecode framework.
|
edu.umd.cs.findbugs.classfile.impl |
Implementations of the interfaces in the edu.umd.cs.findbugs.classfile
package: the core classes of the FindBugs classfile/classpath support
layer.
|
Modifier and Type | Method and Description |
---|---|
protected IAnalysisCache |
FindBugs2.createAnalysisCache()
Create the analysis cache object and register it for current execution thread.
|
Modifier and Type | Method and Description |
---|---|
edu.umd.cs.findbugs.StackMapAnalyzer.JumpInfoFromStackMap |
StackMapAnalyzer.StackMapAnalysisFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
OpcodeStack.JumpInfo |
OpcodeStack.JumpInfoFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
static void |
FindBugs2.registerBuiltInAnalysisEngines(IAnalysisCache analysisCache)
Register the "built-in" analysis engines with given IAnalysisCache.
|
static void |
FindBugs2.registerPluginAnalysisEngines(DetectorFactoryCollection detectorFactoryCollection,
IAnalysisCache analysisCache)
Register all of the analysis engines defined in the plugins contained in
a DetectorFactoryCollection with an IAnalysisCache.
|
Modifier and Type | Method and Description |
---|---|
protected abstract DataflowType |
TypeQualifierDataflowFactory.getDataflow(DepthFirstSearch dfs,
XMethod xmethod,
CFG cfg,
ValueNumberDataflow vnaDataflow,
org.apache.bcel.generic.ConstantPoolGen cpg,
IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor1,
TypeQualifierValue<?> typeQualifierValue) |
protected ForwardTypeQualifierDataflow |
ForwardTypeQualifierDataflowFactory.getDataflow(DepthFirstSearch dfs,
XMethod xmethod,
CFG cfg,
ValueNumberDataflow vnaDataflow,
org.apache.bcel.generic.ConstantPoolGen cpg,
IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor,
TypeQualifierValue<?> typeQualifierValue) |
protected BackwardTypeQualifierDataflow |
BackwardTypeQualifierDataflowFactory.getDataflow(DepthFirstSearch dfs,
XMethod xmethod,
CFG cfg,
ValueNumberDataflow vnaDataflow,
org.apache.bcel.generic.ConstantPoolGen cpg,
IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor,
TypeQualifierValue<?> typeQualifierValue) |
Modifier and Type | Method and Description |
---|---|
IAnalysisCache |
IClassFactory.createAnalysisCache(IClassPath classPath,
BugReporter errorLogger) |
static IAnalysisCache |
Global.getAnalysisCache()
Get the analysis cache for the current thread.
|
Modifier and Type | Method and Description |
---|---|
ResultType |
IAnalysisEngine.analyze(IAnalysisCache analysisCache,
DescriptorType descriptor)
Perform an analysis on class or method named by given descriptor.
|
void |
IAnalysisEngineRegistrar.registerAnalysisEngines(IAnalysisCache analysisCache)
Register analysis engines with given analysis cache.
|
void |
ReflectionDatabaseFactory.registerWith(IAnalysisCache analysisCache) |
void |
IDatabaseFactory.registerWith(IAnalysisCache analysisCache) |
void |
IAnalysisEngine.registerWith(IAnalysisCache analysisCache)
Register the analysis engine with given analysis cache.
|
static void |
Global.setAnalysisCacheForCurrentThread(IAnalysisCache analysisCache)
Set the analysis cache for the current thread.
|
Modifier and Type | Method and Description |
---|---|
ClassNameAndSuperclassInfo |
ClassNameAndSuperclassInfoAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
ClassInfo |
ClassInfoAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
ClassData |
ClassDataAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
void |
EngineRegistrar.registerAnalysisEngines(IAnalysisCache analysisCache) |
void |
ClassNameAndSuperclassInfoAnalysisEngine.registerWith(IAnalysisCache analysisCache) |
void |
ClassInfoAnalysisEngine.registerWith(IAnalysisCache analysisCache) |
void |
ClassDataAnalysisEngine.registerWith(IAnalysisCache analysisCache) |
Modifier and Type | Method and Description |
---|---|
FBClassReader |
ClassReaderAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
org.objectweb.asm.tree.ClassNode |
ClassNodeAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
void |
EngineRegistrar.registerAnalysisEngines(IAnalysisCache analysisCache) |
void |
ClassReaderAnalysisEngine.registerWith(IAnalysisCache analysisCache) |
void |
ClassNodeAnalysisEngine.registerWith(IAnalysisCache analysisCache) |
Modifier and Type | Method and Description |
---|---|
org.apache.bcel.classfile.JavaClass |
JavaClassAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
org.apache.bcel.generic.ConstantPoolGen |
ConstantPoolGenFactory.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
ClassContext |
ClassContextClassAnalysisEngine.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
AssignedFieldMap |
AssignedFieldMapFactory.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
AssertionMethods |
AssertionMethodsFactory.analyze(IAnalysisCache analysisCache,
ClassDescriptor descriptor) |
ValueRangeAnalysisFactory.ValueRangeAnalysis |
ValueRangeAnalysisFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ValueNumberDataflow |
ValueNumberDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
UsagesRequiringNonNullValues |
UsagesRequiringNonNullValuesFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
UnpackedCode |
UnpackedCodeFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
UnconditionalValueDerefDataflow |
UnconditionalValueDerefDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
TypeDataflow |
TypeDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
StoreDataflow |
StoreDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ReverseDepthFirstSearch |
ReverseDepthFirstSearchFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ReturnPathTypeDataflow |
ReturnPathTypeDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ReturnPathDataflow |
ReturnPathDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
java.lang.String[] |
ParameterSignatureListFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ObligationDataflow |
ObligationDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
NonImplicitExceptionPostDominatorsAnalysis |
NonImplicitExceptionPostDominatorsAnalysisFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
NonExceptionPostdominatorsAnalysis |
NonExceptionPostdominatorsAnalysisFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
org.apache.bcel.generic.MethodGen |
MethodGenFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
org.apache.bcel.classfile.Method |
MethodFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
MethodBytecodeSet |
MethodBytecodeSetFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
LockDataflow |
LockDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
LockChecker |
LockCheckerFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
LoadedFieldSet |
LoadedFieldSetFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
LoadDataflow |
LoadDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
LiveLocalStoreDataflow |
LiveLocalStoreDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
IsNullValueDataflow |
IsNullValueDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ForwardTypeQualifierDataflowFactory |
ForwardTypeQualifierDataflowFactoryFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
FinallyDuplicatesInfoFactory.FinallyDuplicatesInfo |
FinallyDuplicatesInfoFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ExceptionSetFactory |
ExceptionSetFactoryFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
DominatorsAnalysis |
DominatorsAnalysisFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
DepthFirstSearch |
DepthFirstSearchFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
ConstantDataflow |
ConstantDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
CompactLocationNumbering |
CompactLocationNumberingFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
CallListDataflow |
CallListDataflowFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
CFG |
CFGFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
BlockTypeDataflow |
BlockTypeAnalysisFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
BackwardTypeQualifierDataflowFactory |
BackwardTypeQualifierDataflowFactoryFactory.analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
protected AssertionMethods |
AnalysisFactory.getAssertionMethods(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected CFG |
AnalysisFactory.getCFG(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected CompactLocationNumbering |
AnalysisFactory.getCompactLocationNumbering(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.generic.ConstantPoolGen |
AnalysisFactory.getConstantPoolGen(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected DepthFirstSearch |
AnalysisFactory.getDepthFirstSearch(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected ExceptionSetFactory |
AnalysisFactory.getExceptionSetFactory(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected IsNullValueDataflow |
AnalysisFactory.getIsNullValueDataflow(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.classfile.JavaClass |
AnalysisFactory.getJavaClass(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected LoadedFieldSet |
AnalysisFactory.getLoadedFieldSet(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.classfile.Method |
AnalysisFactory.getMethod(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.generic.MethodGen |
AnalysisFactory.getMethodGen(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected ReverseDepthFirstSearch |
AnalysisFactory.getReverseDepthFirstSearch(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected TypeDataflow |
AnalysisFactory.getTypeDataflow(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected ValueNumberDataflow |
AnalysisFactory.getValueNumberDataflow(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
void |
EngineRegistrar.registerAnalysisEngines(IAnalysisCache analysisCache) |
void |
ValueRangeAnalysisFactory.registerWith(IAnalysisCache analysisCache) |
void |
MethodFactory.registerWith(IAnalysisCache analysisCache) |
void |
MethodBytecodeSetFactory.registerWith(IAnalysisCache analysisCache) |
void |
JavaClassAnalysisEngine.registerWith(IAnalysisCache analysisCache) |
void |
FinallyDuplicatesInfoFactory.registerWith(IAnalysisCache analysisCache) |
void |
ConstantPoolGenFactory.registerWith(IAnalysisCache analysisCache) |
void |
ClassContextClassAnalysisEngine.registerWith(IAnalysisCache analysisCache) |
void |
CFGFactory.registerWith(IAnalysisCache analysisCache) |
void |
AssignedFieldMapFactory.registerWith(IAnalysisCache analysisCache) |
void |
AssertionMethodsFactory.registerWith(IAnalysisCache analysisCache) |
void |
AnalysisFactory.registerWith(IAnalysisCache analysisCache) |
Modifier and Type | Class and Description |
---|---|
class |
AnalysisCache
Implementation of IAnalysisCache.
|
Modifier and Type | Method and Description |
---|---|
IAnalysisCache |
ClassFactory.createAnalysisCache(IClassPath classPath,
BugReporter errorLogger) |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.