(String args, Instrumentation inst)
| 14 | } |
| 15 | |
| 16 | public static void agentmain(String args, Instrumentation inst) throws Exception { |
| 17 | inst.addTransformer(new MyTransformer(), true); |
| 18 | Class[] loadedClasses = inst.getAllLoadedClasses(); |
| 19 | |
| 20 | for(int i = 0; i < loadedClasses.length; ++i) { |
| 21 | Class clazz = loadedClasses[i]; |
| 22 | if (clazz.getName().equals(ClassName)) { |
| 23 | try { |
| 24 | inst.retransformClasses(new Class[]{clazz}); |
| 25 | } catch (Exception var6) { |
| 26 | var6.printStackTrace(); |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | } |
| 32 | |
| 33 | public static void premain(String args, Instrumentation inst) throws Exception { |
| 34 | } |
nothing calls this directly
no outgoing calls
no test coverage detected