@Test public void testInjectWithQualifier() { InjectInto2 target = new InjectInto2(); into(target).injectWithQualifier(KindA.class, "a").injectWithQualifier(KindB.class, "b"); assertThat(target.getStr1()).isEqualTo("a"); assertThat(target.getStr2()).isEqualTo("b"); }
public CDIInjector<T> injectWithQualifier(Class<? extends Annotation> qualifier, Object obj) { doInject(qualifier, obj); return this; }
CDIInjector { public CDIInjector<T> injectWithQualifier(Class<? extends Annotation> qualifier, Object obj) { doInject(qualifier, obj); return this; } }
CDIInjector { public CDIInjector<T> injectWithQualifier(Class<? extends Annotation> qualifier, Object obj) { doInject(qualifier, obj); return this; } private  CDIInjector(T target); }
CDIInjector { public CDIInjector<T> injectWithQualifier(Class<? extends Annotation> qualifier, Object obj) { doInject(qualifier, obj); return this; } private  CDIInjector(T target); T get(); CDIInjector<T> inject(Object... objects); CDIInjector<T> injectWithQualifier(Class<? extends Annotation> qualifier, Object obj); static CDIInjector<T> into(T target); }
CDIInjector { public CDIInjector<T> injectWithQualifier(Class<? extends Annotation> qualifier, Object obj) { doInject(qualifier, obj); return this; } private  CDIInjector(T target); T get(); CDIInjector<T> inject(Object... objects); CDIInjector<T> injectWithQualifier(Class<? extends Annotation> qualifier, Object obj); static CDIInjector<T> into(T target);  }