IAnalysisEngine<MethodDescriptor,ResultType>
, IMethodAnalysisEngine<LoadedFieldSet>
public class LoadedFieldSetFactory extends AnalysisFactory<LoadedFieldSet>
The tricky part is that in addition to fields loaded and stored with get/putfield and get/putstatic, we also try to figure out field accessed through calls to inner-class access methods.
Constructor | Description |
---|---|
LoadedFieldSetFactory() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
LoadedFieldSet |
analyze(IAnalysisCache analysisCache,
MethodDescriptor descriptor) |
Perform an analysis on class or method named by given descriptor.
|
getAssertionMethods, getCFG, getCompactLocationNumbering, getConstantPoolGen, getDepthFirstSearch, getExceptionSetFactory, getIsNullValueDataflow, getJavaClass, getLoadedFieldSet, getMethod, getMethodGen, getReverseDepthFirstSearch, getTypeDataflow, getValueNumberDataflow, registerWith, toString
public LoadedFieldSet analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException
IAnalysisEngine
analysisCache
- the analysis cachedescriptor
- the descriptor of the class or method to be analyzedCheckedAnalysisException
SpotBugs is licensed under the LGPL.