Class ReflectionHandler
- java.lang.Object
-
- com.ibm.wala.ipa.callgraph.propagation.ReflectionHandler
-
public class ReflectionHandler extends Object
A helper class which can modify aPropagationCallGraphBuilderto deal with reflective factory methods.
-
-
Constructor Summary
Constructors Constructor Description ReflectionHandler(PropagationCallGraphBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanupdateForReflection(MonitorUtil.IProgressMonitor monitor)update the pointer analysis solver based on flow of reflective factory results to checkcasts
-
-
-
Constructor Detail
-
ReflectionHandler
public ReflectionHandler(PropagationCallGraphBuilder builder)
-
-
Method Detail
-
updateForReflection
protected boolean updateForReflection(MonitorUtil.IProgressMonitor monitor) throws IllegalArgumentException, CancelException
update the pointer analysis solver based on flow of reflective factory results to checkcasts- Parameters:
monitor-- Returns:
- true if anything has changed
- Throws:
CancelExceptionIllegalArgumentException
-
-