// InstrumentationContext ctx = new InstrumentationContext();
// For method entry traps :
ChainInstrumentor entryDispatcher = new MethodDispatcherInstrumentor();
GrepInstrumentor grepEntry =
new GrepInstrumentor(new MethodEntryStrategy());
// Instrumentor head0 = new HeadInstrumentor(); // ---
grepEntry.setResolutions(getResolutions());