1 package com.xtremelabs.robolectric.bytecode; 2 3 import com.xtremelabs.robolectric.RobolectricConfig; 4 5 import javassist.CtClass; 6 7 public interface ClassHandler { configure(RobolectricConfig robolectricConfig)8 void configure(RobolectricConfig robolectricConfig); 9 instrument(CtClass ctClass)10 void instrument(CtClass ctClass); 11 beforeTest()12 void beforeTest(); 13 afterTest()14 void afterTest(); 15 methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params)16 Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable; 17 } 18