Package edu.umd.cs.findbugs.ba.vna
Class ValueNumberDataflow
java.lang.Object
edu.umd.cs.findbugs.ba.Dataflow<Fact,AnalysisType>
edu.umd.cs.findbugs.ba.AbstractDataflow<ValueNumberFrame,ValueNumberAnalysis>
edu.umd.cs.findbugs.ba.vna.ValueNumberDataflow
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValueNumberToParamMap
(String methodSignature, boolean isStatic) Build map of value numbers to param indices.getValueNumberToParamMap
(org.apache.bcel.classfile.Method method) Build map of value numbers to param indices.Methods inherited from class edu.umd.cs.findbugs.ba.AbstractDataflow
getFactOnEdge
Methods inherited from class edu.umd.cs.findbugs.ba.Dataflow
dumpDataflow, execute, getAnalysis, getCFG, getFactAfterLocation, getFactAtLocation, getNumIterations, getResultFact, getStartFact
-
Constructor Details
-
ValueNumberDataflow
-
-
Method Details
-
getValueNumberToParamMap
Build map of value numbers to param indices. The first parameter has index 0, the second has index 1, etc.- Parameters:
method
- the method analyzed by the ValueNumberAnalysis- Returns:
- the value number to parameter index map
-
getValueNumberToParamMap
Build map of value numbers to param indices. The first parameter has index 0, the second has index 1, etc.- Parameters:
methodSignature
- signature of the method analyzed by the ValueNumberAnalysisisStatic
- true if the method is static, false if not- Returns:
- the value number to parameter index map
-
getClassName
-