@Test public void testCircleInjection(){ Circle circle = new Circle(); injector.inject(circle); }
public final void inject(@NonNull Object instance) { inject(instance, instance.getClass()); }
Injector { public final void inject(@NonNull Object instance) { inject(instance, instance.getClass()); } }
Injector { public final void inject(@NonNull Object instance) { inject(instance, instance.getClass()); } Injector(@Nullable Injector parentInjector); }
Injector { public final void inject(@NonNull Object instance) { inject(instance, instance.getClass()); } Injector(@Nullable Injector parentInjector); final void inject(@NonNull Object instance); final void inject(@NonNull Object instance, @NonNull Class<?> clazz); @Nullable T resolveValue(@NonNull Class<T> type, @Nullable Object instance); }
Injector { public final void inject(@NonNull Object instance) { inject(instance, instance.getClass()); } Injector(@Nullable Injector parentInjector); final void inject(@NonNull Object instance); final void inject(@NonNull Object instance, @NonNull Class<?> clazz); @Nullable T resolveValue(@NonNull Class<T> type, @Nullable Object instance);  }