public abstract class AnalysisFactory<Analysis> extends java.lang.Object implements IMethodAnalysisEngine<Analysis>
| Constructor and Description |
|---|
AnalysisFactory(java.lang.String analysisName,
java.lang.Class<Analysis> analysisClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected AssertionMethods |
getAssertionMethods(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected CFG |
getCFG(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected CompactLocationNumbering |
getCompactLocationNumbering(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.generic.ConstantPoolGen |
getConstantPoolGen(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected DepthFirstSearch |
getDepthFirstSearch(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected ExceptionSetFactory |
getExceptionSetFactory(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected IsNullValueDataflow |
getIsNullValueDataflow(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.classfile.JavaClass |
getJavaClass(IAnalysisCache analysisCache,
ClassDescriptor classDescriptor) |
protected LoadedFieldSet |
getLoadedFieldSet(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.classfile.Method |
getMethod(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected org.apache.bcel.generic.MethodGen |
getMethodGen(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected ReverseDepthFirstSearch |
getReverseDepthFirstSearch(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected TypeDataflow |
getTypeDataflow(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
protected ValueNumberDataflow |
getValueNumberDataflow(IAnalysisCache analysisCache,
MethodDescriptor methodDescriptor) |
void |
registerWith(IAnalysisCache analysisCache)
Register the analysis engine with given analysis cache.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitanalyzepublic AnalysisFactory(java.lang.String analysisName,
java.lang.Class<Analysis> analysisClass)
analysisName - name of the analysis factory: for diagnostics/debuggingpublic java.lang.String toString()
toString in class java.lang.Objectpublic void registerWith(IAnalysisCache analysisCache)
IAnalysisEngineregisterWith in interface IAnalysisEngine<MethodDescriptor,Analysis>analysisCache - the analysis cacheprotected CFG getCFG(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected DepthFirstSearch getDepthFirstSearch(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected org.apache.bcel.generic.ConstantPoolGen getConstantPoolGen(IAnalysisCache analysisCache, ClassDescriptor classDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected org.apache.bcel.generic.MethodGen getMethodGen(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected CompactLocationNumbering getCompactLocationNumbering(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected ValueNumberDataflow getValueNumberDataflow(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected AssertionMethods getAssertionMethods(IAnalysisCache analysisCache, ClassDescriptor classDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected org.apache.bcel.classfile.JavaClass getJavaClass(IAnalysisCache analysisCache, ClassDescriptor classDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected org.apache.bcel.classfile.Method getMethod(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected ReverseDepthFirstSearch getReverseDepthFirstSearch(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected ExceptionSetFactory getExceptionSetFactory(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected IsNullValueDataflow getIsNullValueDataflow(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected TypeDataflow getTypeDataflow(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionprotected LoadedFieldSet getLoadedFieldSet(IAnalysisCache analysisCache, MethodDescriptor methodDescriptor) throws CheckedAnalysisException
CheckedAnalysisExceptionFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.