package Sequenic.T2ext.Instrumenter; import java.lang.reflect.*; import java.util.*; import org.junit.* ; public class ClassInstrumenterTest1 { public Method getMethod(String mname, Class C){ Method[] methods = C.getDeclaredMethods() ; for (int i=0; i tmethods = new LinkedList() ; tmethods.add(m) ; ClassInstrumenter CI = new ClassInstrumenter(C,tmethods) ; CI.tpath = "SimpleTargetClass0.newclass" ; CI.debug = true ; CI.doInject = true ; CFGBunchFile cfgBunch = CI.doInstrumenting(); for (CFG cfg : cfgBunch.cfgs) cfg.simplePrint() ; } }