@Test public void should_inject_nothing_with_non_existed_class() { final Instrumentation inst = ByteBuddyAgent.install(); final ClassInjector injector = UsingInstrumentation.of(new File("target"), BOOTSTRAP, inst); final Iterable<Class<?>> injected = new ClassLoaderInjection(injector).inject(singleton("non.existed")); assertTrue(List.iterableList(injected).isEmpty()); }
Iterable<Class<?>> inject(Iterable<String> names) { return injector.injectRaw(types(names)).values(); }
ClassLoaderInjection { Iterable<Class<?>> inject(Iterable<String> names) { return injector.injectRaw(types(names)).values(); } }
ClassLoaderInjection { Iterable<Class<?>> inject(Iterable<String> names) { return injector.injectRaw(types(names)).values(); } ClassLoaderInjection(ClassInjector injector); }
ClassLoaderInjection { Iterable<Class<?>> inject(Iterable<String> names) { return injector.injectRaw(types(names)).values(); } ClassLoaderInjection(ClassInjector injector);  }
ClassLoaderInjection { Iterable<Class<?>> inject(Iterable<String> names) { return injector.injectRaw(types(names)).values(); } ClassLoaderInjection(ClassInjector injector);   }