chord.program.reflect
Class ReflectInstrumentor

java.lang.Object
  extended by javassist.expr.ExprEditor
      extended by chord.instr.BasicInstrumentor
          extended by chord.program.reflect.ReflectInstrumentor

public class ReflectInstrumentor
extends BasicInstrumentor

Load-time bytecode instrumentor for dynamic analysis for resolving reflection.

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

Field Summary
 
Fields inherited from class chord.instr.BasicInstrumentor
argsMap, currentClass, currentMethod, EVENT_HANDLER_ARGS_KEY, EVENT_HANDLER_CLASS_KEY, eventHandlerDoneCall, eventHandlerInitCall, INSTRUMENTOR_CLASS_KEY, isMainClass, pool, scopeExcludeAry, USE_JVMTI_KEY, useJvmti, verbose
 
Constructor Summary
ReflectInstrumentor(java.util.Map<java.lang.String,java.lang.String> argsMap)
           
 
Method Summary
 void edit(javassist.expr.MethodCall e)
           
 
Methods inherited from class chord.instr.BasicInstrumentor
edit, edit, edit, edit, edit, edit, edit, edit, edit, edit, getPool, insertBefore, isExcluded, isExplicitlyExcluded, isImplicitlyExcluded
 
Methods inherited from class javassist.expr.ExprEditor
doit, edit, edit, edit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectInstrumentor

public ReflectInstrumentor(java.util.Map<java.lang.String,java.lang.String> argsMap)
Method Detail

edit

public void edit(javassist.expr.MethodCall e)
Overrides:
edit in class BasicInstrumentor