Home
last modified time | relevance | path

Searched refs:MembersInjector (Results 1 – 25 of 38) sorted by relevance

12

/external/guice/core/test/com/google/inject/
DMembersInjectorTest.java49 final AtomicReference<MembersInjector<A<C>>> aMembersInjectorReference in testMembersInjectorFromBinder()
50 = new AtomicReference<MembersInjector<A<C>>>(); in testMembersInjectorFromBinder()
51 final AtomicReference<MembersInjector<B>> bMembersInjectorReference in testMembersInjectorFromBinder()
52 = new AtomicReference<MembersInjector<B>>(); in testMembersInjectorFromBinder()
56 MembersInjector<A<C>> aMembersInjector = getMembersInjector(new TypeLiteral<A<C>>() {}); in testMembersInjectorFromBinder()
65 MembersInjector<B> bMembersInjector = getMembersInjector(B.class); in testMembersInjectorFromBinder()
105 MembersInjector<A<C>> aMembersInjector in testMembersInjectorFromInjector()
107 MembersInjector<B> bMembersInjector = injector.getMembersInjector(B.class); in testMembersInjectorFromInjector()
129 MembersInjector<NoInjectedMembers> membersInjector in testMembersInjectorWithNonInjectedTypes()
139 MembersInjector<InjectionFailure> membersInjector in testInjectionFailure()
[all …]
DTypeListenerTest.java75 final MembersInjector<Object> failingMembersInjector = new MembersInjector<Object>() {
344 MembersInjector<A> aMembersInjector = injector.getMembersInjector(A.class);
363 final AtomicReference<MembersInjector<A>> aMembersInjectorReference
364 = new AtomicReference<MembersInjector<A>>();
390 MembersInjector<A> aMembersInjector = encounter.getMembersInjector(A.class);
432 final MembersInjector<D> membersInjector = new MembersInjector<D>() {
452 encounter.register((MembersInjector) membersInjector);
633 private static class CountingMembersInjector implements MembersInjector<D> {
652 MembersInjector membersInjector = new CountingMembersInjector();
/external/dagger2/core/src/main/java/dagger/internal/
DMembersInjectors.java18 import dagger.MembersInjector;
35 public static <T> MembersInjector<T> noOp() { in noOp()
36 return (MembersInjector<T>) NoOpMembersInjector.INSTANCE; in noOp()
39 private static enum NoOpMembersInjector implements MembersInjector<Object> {
58 public static <T> MembersInjector<T> delegatingTo(MembersInjector<? super T> delegate) { in delegatingTo()
59 return (MembersInjector<T>) delegate; in delegatingTo()
/external/guice/core/src/com/google/inject/spi/
DMembersInjectorLookup.java23 import com.google.inject.MembersInjector;
40 private MembersInjector<T> delegate;
67 public void initializeDelegate(MembersInjector<T> delegate) { in initializeDelegate()
81 public MembersInjector<T> getDelegate() { in getDelegate()
90 public MembersInjector<T> getMembersInjector() { in getMembersInjector()
91 return new MembersInjector<T>() { in getMembersInjector()
DTypeEncounter.java20 import com.google.inject.MembersInjector;
80 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector()
90 <T> MembersInjector<T> getMembersInjector(Class<T> type); in getMembersInjector()
96 void register(MembersInjector<? super I> membersInjector); in register()
/external/guice/core/src/com/google/inject/internal/
DEncounterImpl.java25 import com.google.inject.MembersInjector;
44 private List<MembersInjector<? super T>> membersInjectors; // lazy
80 ImmutableSet<MembersInjector<? super T>> getMembersInjectors() { in getMembersInjectors()
82 ? ImmutableSet.<MembersInjector<? super T>>of() in getMembersInjectors()
92 public void register(MembersInjector<? super T> membersInjector) { in register()
136 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { in getMembersInjector()
141 public <T> MembersInjector<T> getMembersInjector(Class<T> type) { in getMembersInjector()
DMembersInjectorImpl.java22 import com.google.inject.MembersInjector;
33 final class MembersInjectorImpl<T> implements MembersInjector<T> {
37 private final ImmutableSet<MembersInjector<? super T>> userMembersInjectors;
138 for (MembersInjector<? super T> userMembersInjector : userMembersInjectors) { in injectMembers()
DLookups.java20 import com.google.inject.MembersInjector;
34 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> type); in getMembersInjector()
DLookupProcessor.java19 import com.google.inject.MembersInjector;
38 MembersInjector<T> membersInjector in visit()
DDeferredLookups.java21 import com.google.inject.MembersInjector;
58 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> type) { in getMembersInjector()
DInjectorImpl.java32 import com.google.inject.MembersInjector;
312 return key.getTypeLiteral().getRawType().equals(MembersInjector.class) in isMembersInjector()
316 private <T> BindingImpl<MembersInjector<T>> createMembersInjectorBinding( in createMembersInjectorBinding()
317 Key<MembersInjector<T>> key, Errors errors) throws ErrorsException { in createMembersInjectorBinding()
326 MembersInjector<T> membersInjector = membersInjectorStore.get(instanceType, errors); in createMembersInjectorBinding()
328 InternalFactory<MembersInjector<T>> factory = new ConstantFactory<MembersInjector<T>>( in createMembersInjectorBinding()
332 return new InstanceBindingImpl<MembersInjector<T>>(this, key, SourceProvider.UNKNOWN_SOURCE, in createMembersInjectorBinding()
983 MembersInjector membersInjector = getMembersInjector(instance.getClass());
987 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) {
996 public <T> MembersInjector<T> getMembersInjector(Class<T> type) {
DInternalInjectorCreator.java24 import com.google.inject.MembersInjector;
290 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { in getMembersInjector()
294 public <T> MembersInjector<T> getMembersInjector(Class<T> type) { in getMembersInjector()
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
DBasicComponent.java20 import dagger.MembersInjector;
76 MembersInjector<InjectedThing> injectedThingMembersInjector(); in injectedThingMembersInjector()
79 MembersInjector<TypeWithInheritedMembersInjection>
DInjector.java19 import dagger.MembersInjector;
29 MembersInjector<T> membersInjector(); in membersInjector()
DInjectedThing.java19 import dagger.MembersInjector;
91 @Inject MembersInjector<Thing> thingMembersInjector;
160 MembersInjector<Thing> thingMembersInjector) {} in InjectedThing()
228 @Inject void thingMembersInjector(MembersInjector<Thing> thingMembersInjector) {} in thingMembersInjector()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DDependencyRequestMapper.java21 import dagger.MembersInjector;
66 return MembersInjector.class; in getFrameworkClass()
89 return MembersInjector.class; in getFrameworkClass()
DFrameworkField.java22 import dagger.MembersInjector;
114 MembersInjector.class, in createForResolvedBindings()
155 return MembersInjector.class; in frameworkClassForResolvedBindings()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DDependencyRequestMapperTest.java21 import dagger.MembersInjector;
112 .isEqualTo(MembersInjector.class); in forProvider()
124 .isEqualTo(MembersInjector.class); in forProducer()
134 Integer a, Lazy<Integer> b, Provider<Integer> c, MembersInjector<Y> d) { in provideString()
DBindingFieldTest.java20 import dagger.MembersInjector;
72 assertThat(FrameworkField.createWithTypeFromKey(MembersInjector.class, in frameworkType()
76 ClassName.fromClass(MembersInjector.class), xClass)); in frameworkType()
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/tck/
DEngineModule.java18 import dagger.MembersInjector;
27 Engine provideEngine(MembersInjector<V8Engine> injector) { in provideEngine()
/external/guice/core/src/com/google/inject/
DInjector.java82 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector()
94 <T> MembersInjector<T> getMembersInjector(Class<T> type); in getMembersInjector()
DBinder.java358 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector()
369 <T> MembersInjector<T> getMembersInjector(Class<T> type); in getMembersInjector()
DMembersInjector.java29 public interface MembersInjector<T> { interface
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/membersinject/
DMembersInjectTest.java18 import dagger.MembersInjector;
91 MembersInjector<NonRequestedChild> injector = new NonRequestedChild_MembersInjector(provider); in testNonRequestedMembersInjector()
/external/dagger2/core/src/main/java/dagger/
DMembersInjector.java30 public interface MembersInjector<T> { interface

12