Class AbstractReflectionInterpreter

java.lang.Object
com.ibm.wala.analysis.reflection.AbstractReflectionInterpreter
All Implemented Interfaces:
CHAContextInterpreter, RTAContextInterpreter, SSAContextInterpreter
Direct Known Subclasses:
ClassNewInstanceContextInterpreter, FactoryBypassInterpreter, ReflectiveInvocationInterpreter

public abstract class AbstractReflectionInterpreter extends Object implements SSAContextInterpreter
An abstract superclass of various SSAContextInterpreters that deal with reflection methods.
  • Field Details

  • Constructor Details

    • AbstractReflectionInterpreter

      public AbstractReflectionInterpreter()
  • Method Details

    • 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)
      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.