Class ValueRangeAnalysisFactory
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.engine.bcel.ValueRangeAnalysisFactory
-
- All Implemented Interfaces:
IAnalysisEngine<MethodDescriptor,ValueRangeAnalysisFactory.ValueRangeAnalysis>
,IMethodAnalysisEngine<ValueRangeAnalysisFactory.ValueRangeAnalysis>
public class ValueRangeAnalysisFactory extends java.lang.Object implements IMethodAnalysisEngine<ValueRangeAnalysisFactory.ValueRangeAnalysis>
- Author:
- Tagir Valeev
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValueRangeAnalysisFactory.LongRangeSet
static class
ValueRangeAnalysisFactory.RedundantCondition
static class
ValueRangeAnalysisFactory.ValueRangeAnalysis
-
Constructor Summary
Constructors Constructor Description ValueRangeAnalysisFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueRangeAnalysisFactory.ValueRangeAnalysis
analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor)
Perform an analysis on class or method named by given descriptor.void
registerWith(IAnalysisCache analysisCache)
Register the analysis engine with given analysis cache.
-
-
-
Method Detail
-
analyze
public ValueRangeAnalysisFactory.ValueRangeAnalysis analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException
Description copied from interface:IAnalysisEngine
Perform an analysis on class or method named by given descriptor.- Specified by:
analyze
in interfaceIAnalysisEngine<MethodDescriptor,ValueRangeAnalysisFactory.ValueRangeAnalysis>
- Parameters:
analysisCache
- the analysis cachedescriptor
- the descriptor of the class or method to be analyzed- Returns:
- the result of the analysis of the class or method
- Throws:
CheckedAnalysisException
-
registerWith
public void registerWith(IAnalysisCache analysisCache)
Description copied from interface:IAnalysisEngine
Register the analysis engine with given analysis cache.- Specified by:
registerWith
in interfaceIAnalysisEngine<MethodDescriptor,ValueRangeAnalysisFactory.ValueRangeAnalysis>
- Parameters:
analysisCache
- the analysis cache
-
-