Package edu.umd.cs.findbugs.classfile
Class RecomputableClassAnalysisEngine<ResultType>
java.lang.Object
edu.umd.cs.findbugs.classfile.RecomputableClassAnalysisEngine<ResultType>
- All Implemented Interfaces:
IAnalysisEngine<ClassDescriptor,
,ResultType> IClassAnalysisEngine<ResultType>
- Direct Known Subclasses:
AssertionMethodsFactory
,AssignedFieldMapFactory
,ClassContextClassAnalysisEngine
,ClassDataAnalysisEngine
,ClassNodeAnalysisEngine
,ClassReaderAnalysisEngine
,ConstantPoolGenFactory
public abstract class RecomputableClassAnalysisEngine<ResultType>
extends Object
implements IClassAnalysisEngine<ResultType>
- Author:
- pugh
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if analysis results produced by this analysis engine can be recomputed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.umd.cs.findbugs.classfile.IAnalysisEngine
analyze, registerWith
-
Constructor Details
-
RecomputableClassAnalysisEngine
public RecomputableClassAnalysisEngine()
-
-
Method Details
-
canRecompute
public boolean canRecompute()Description copied from interface:IClassAnalysisEngine
Return true if analysis results produced by this analysis engine can be recomputed. Unless some correctness criterion prevents analysis results from being recomputed, analysis engines should return true (allowing the cache to be kept to a manageable size).- Specified by:
canRecompute
in interfaceIClassAnalysisEngine<ResultType>
- Returns:
- true if analysis results produced by this engine can be recomputed, false if for some reason the analysis results must be retained indefinitely
-