@Test public void testResetNotSupported() throws Exception { Instrumentation instrumentation = mock(Instrumentation.class); when(instrumentation.isRetransformClassesSupported()).thenReturn(true); new ClassReloadingStrategy(instrumentation, ClassReloadingStrategy.Strategy.RETRANSFORMATION).reset(); }
public ClassReloadingStrategy reset(Class<?>... type) throws IOException { return type.length == 0 ? this : reset(ClassFileLocator.ForClassLoader.of(type[0].getClassLoader()), type); }
ClassReloadingStrategy implements ClassLoadingStrategy<ClassLoader> { public ClassReloadingStrategy reset(Class<?>... type) throws IOException { return type.length == 0 ? this : reset(ClassFileLocator.ForClassLoader.of(type[0].getClassLoader()), type); } }
ClassReloadingStrategy implements ClassLoadingStrategy<ClassLoader> { public ClassReloadingStrategy reset(Class<?>... type) throws IOException { return type.length == 0 ? this : reset(ClassFileLocator.ForClassLoader.of(type[0].getClassLoader()), type); } ClassReloadingStrategy(Instrumentation instrumentation, Strategy strategy); protected  ClassReloadingStrategy(Instrumentation instrumentation,
                                     Strategy strategy,
                                     BootstrapInjection bootstrapInjection,
                                     Map<String, Class<?>> preregisteredTypes); }
ClassReloadingStrategy implements ClassLoadingStrategy<ClassLoader> { public ClassReloadingStrategy reset(Class<?>... type) throws IOException { return type.length == 0 ? this : reset(ClassFileLocator.ForClassLoader.of(type[0].getClassLoader()), type); } ClassReloadingStrategy(Instrumentation instrumentation, Strategy strategy); protected  ClassReloadingStrategy(Instrumentation instrumentation,
                                     Strategy strategy,
                                     BootstrapInjection bootstrapInjection,
                                     Map<String, Class<?>> preregisteredTypes); static ClassReloadingStrategy of(Instrumentation instrumentation); static ClassReloadingStrategy fromInstalledAgent(); static ClassReloadingStrategy fromInstalledAgent(Strategy strategy); Map<TypeDescription, Class<?>> load(ClassLoader classLoader, Map<TypeDescription, byte[]> types); ClassReloadingStrategy reset(Class<?>... type); ClassReloadingStrategy reset(ClassFileLocator classFileLocator, Class<?>... type); ClassReloadingStrategy enableBootstrapInjection(File folder); ClassReloadingStrategy preregistered(Class<?>... type); }
ClassReloadingStrategy implements ClassLoadingStrategy<ClassLoader> { public ClassReloadingStrategy reset(Class<?>... type) throws IOException { return type.length == 0 ? this : reset(ClassFileLocator.ForClassLoader.of(type[0].getClassLoader()), type); } ClassReloadingStrategy(Instrumentation instrumentation, Strategy strategy); protected  ClassReloadingStrategy(Instrumentation instrumentation,
                                     Strategy strategy,
                                     BootstrapInjection bootstrapInjection,
                                     Map<String, Class<?>> preregisteredTypes); static ClassReloadingStrategy of(Instrumentation instrumentation); static ClassReloadingStrategy fromInstalledAgent(); static ClassReloadingStrategy fromInstalledAgent(Strategy strategy); Map<TypeDescription, Class<?>> load(ClassLoader classLoader, Map<TypeDescription, byte[]> types); ClassReloadingStrategy reset(Class<?>... type); ClassReloadingStrategy reset(ClassFileLocator classFileLocator, Class<?>... type); ClassReloadingStrategy enableBootstrapInjection(File folder); ClassReloadingStrategy preregistered(Class<?>... type);  }