com.ibm.wala.analysis.reflection
Class AbstractReflectionInterpreter
java.lang.Object
com.ibm.wala.analysis.reflection.AbstractReflectionInterpreter
- All Implemented Interfaces:
- RTAContextInterpreter, SSAContextInterpreter
- Direct Known Subclasses:
- ClassNewInstanceContextInterpreter, ReflectiveInvocationInterpreter
public abstract class AbstractReflectionInterpreter
- extends java.lang.Object
- implements SSAContextInterpreter
An abstract superclass of various SSAContextInterpreters that deal with reflection methods.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
protected static final boolean DEBUG
- See Also:
- Constant Field Values
CONE_BOUND
protected static final int CONE_BOUND
- See Also:
- Constant Field Values
indexLocal
protected int indexLocal
typeIndexMap
protected final java.util.Map<TypeReference,java.lang.Integer> typeIndexMap
options
protected AnalysisOptions options
- Governing analysis options
cache
protected AnalysisCache cache
- cache of analysis information
AbstractReflectionInterpreter
public AbstractReflectionInterpreter()
getLocalForType
protected int getLocalForType(TypeReference T)
getExceptionsForType
protected int getExceptionsForType(TypeReference T)
getCallSiteForType
protected int getCallSiteForType(TypeReference T)
getNewSiteForType
protected int getNewSiteForType(TypeReference T)
typeRef2TypeAbstraction
protected TypeAbstraction typeRef2TypeAbstraction(IClassHierarchy cha,
TypeReference type)
- Parameters:
type -
- Returns:
- a TypeAbstraction object representing this type. We just use ConeTypes by default, since we don't propagate
information allowing us to distinguish between points and cones yet.