Package edu.umd.cs.findbugs
Class OpcodeStack.JumpInfoFactory
java.lang.Object
edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory<OpcodeStack.JumpInfo>
edu.umd.cs.findbugs.OpcodeStack.JumpInfoFactory
- All Implemented Interfaces:
IAnalysisEngine<MethodDescriptor,
,OpcodeStack.JumpInfo> IMethodAnalysisEngine<OpcodeStack.JumpInfo>
- Enclosing class:
OpcodeStack
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyze
(IAnalysisCache analysisCache, MethodDescriptor descriptor) Perform an analysis on class or method named by given descriptor.static OpcodeStack.JumpInfo
computeJumpInfo
(org.apache.bcel.classfile.JavaClass jclass, org.apache.bcel.classfile.Method method, OpcodeStack.JumpInfoFactory.JumpStackComputation branchAnalysis) Methods inherited from class edu.umd.cs.findbugs.classfile.engine.bcel.AnalysisFactory
getAssertionMethods, getCFG, getCompactLocationNumbering, getConstantPoolGen, getDepthFirstSearch, getExceptionSetFactory, getIsNullValueDataflow, getJavaClass, getLoadedFieldSet, getMethod, getMethodGen, getReverseDepthFirstSearch, getTypeDataflow, getValueNumberDataflow, registerWith, toString
-
Constructor Details
-
JumpInfoFactory
public JumpInfoFactory()
-
-
Method Details
-
analyze
@CheckForNull public OpcodeStack.JumpInfo analyze(IAnalysisCache analysisCache, MethodDescriptor descriptor) throws CheckedAnalysisException Description copied from interface:IAnalysisEngine
Perform an analysis on class or method named by given descriptor.- 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
-
computeJumpInfo
@CheckForNull public static OpcodeStack.JumpInfo computeJumpInfo(org.apache.bcel.classfile.JavaClass jclass, org.apache.bcel.classfile.Method method, OpcodeStack.JumpInfoFactory.JumpStackComputation branchAnalysis)
-