chord.program
Class Reflect

java.lang.Object
  extended by chord.program.Reflect

public class Reflect
extends java.lang.Object

Author:
Mayur Naik (mhn@cs.stanford.edu)

Constructor Summary
Reflect()
           
Reflect(java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedClsForNameSites, java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedObjNewInstSites, java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedConNewInstSites, java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedAryNewInstSites)
           
 
Method Summary
 boolean addResolvedAryNewInstSite(joeq.Compiler.Quad.Quad q, joeq.Class.jq_Reference c)
           
 boolean addResolvedClsForNameSite(joeq.Compiler.Quad.Quad q, joeq.Class.jq_Reference c)
           
 boolean addResolvedConNewInstSite(joeq.Compiler.Quad.Quad q, joeq.Class.jq_Reference c)
           
 boolean addResolvedObjNewInstSite(joeq.Compiler.Quad.Quad q, joeq.Class.jq_Reference c)
           
 java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedAryNewInstSites()
          Provides a list containing each call to static method newInstance(Class, int) defined in class java.lang.reflect.Array, along with the types of all classes instantiated by it.
 java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedClsForNameSites()
          Provides a list containing each call to static method forName(String s) defined in class java.lang.Class, along with the types of all classes denoted by argument s.
 java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedConNewInstSites()
          Provides a list containing each call to instance method newInstance(Object[]) defined in class java.lang.reflect.Constructor, along with the types of all classes instantiated by it.
 java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedObjNewInstSites()
          Provides a list containing each call to instance method newInstance() defined in class java.lang.Class, along with the types of all classes instantiated by it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reflect

public Reflect(java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedClsForNameSites,
               java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedObjNewInstSites,
               java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedConNewInstSites,
               java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> _resolvedAryNewInstSites)

Reflect

public Reflect()
Method Detail

getResolvedClsForNameSites

public java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedClsForNameSites()
Provides a list containing each call to static method forName(String s) defined in class java.lang.Class, along with the types of all classes denoted by argument s.


getResolvedObjNewInstSites

public java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedObjNewInstSites()
Provides a list containing each call to instance method newInstance() defined in class java.lang.Class, along with the types of all classes instantiated by it.


getResolvedConNewInstSites

public java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedConNewInstSites()
Provides a list containing each call to instance method newInstance(Object[]) defined in class java.lang.reflect.Constructor, along with the types of all classes instantiated by it.


getResolvedAryNewInstSites

public java.util.List<Pair<joeq.Compiler.Quad.Quad,java.util.List<joeq.Class.jq_Reference>>> getResolvedAryNewInstSites()
Provides a list containing each call to static method newInstance(Class, int) defined in class java.lang.reflect.Array, along with the types of all classes instantiated by it.


addResolvedClsForNameSite

public boolean addResolvedClsForNameSite(joeq.Compiler.Quad.Quad q,
                                         joeq.Class.jq_Reference c)

addResolvedObjNewInstSite

public boolean addResolvedObjNewInstSite(joeq.Compiler.Quad.Quad q,
                                         joeq.Class.jq_Reference c)

addResolvedConNewInstSite

public boolean addResolvedConNewInstSite(joeq.Compiler.Quad.Quad q,
                                         joeq.Class.jq_Reference c)

addResolvedAryNewInstSite

public boolean addResolvedAryNewInstSite(joeq.Compiler.Quad.Quad q,
                                         joeq.Class.jq_Reference c)