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.java59 final AtomicReference<MembersInjector<A<C>>> aMembersInjectorReference = in testMembersInjectorFromBinder()
60 new AtomicReference<MembersInjector<A<C>>>(); in testMembersInjectorFromBinder()
61 final AtomicReference<MembersInjector<B>> bMembersInjectorReference = in testMembersInjectorFromBinder()
62 new AtomicReference<MembersInjector<B>>(); in testMembersInjectorFromBinder()
68 MembersInjector<A<C>> aMembersInjector = getMembersInjector(new TypeLiteral<A<C>>() {}); in testMembersInjectorFromBinder()
78 MembersInjector<B> bMembersInjector = getMembersInjector(B.class); in testMembersInjectorFromBinder()
122 MembersInjector<A<C>> aMembersInjector = in testMembersInjectorFromInjector()
124 MembersInjector<B> bMembersInjector = injector.getMembersInjector(B.class); in testMembersInjectorFromInjector()
146 MembersInjector<NoInjectedMembers> membersInjector = in testMembersInjectorWithNonInjectedTypes()
156 MembersInjector<InjectionFailure> membersInjector = in testInjectionFailure()
[all …]
DTypeListenerTest.java78 final MembersInjector<Object> failingMembersInjector =
79 new MembersInjector<Object>() {
400 MembersInjector<A> aMembersInjector = injector.getMembersInjector(A.class);
419 final AtomicReference<MembersInjector<A>> aMembersInjectorReference = new AtomicReference<>();
453 MembersInjector<A> aMembersInjector = encounter.getMembersInjector(A.class);
501 final MembersInjector<D> membersInjector =
502 new MembersInjector<D>() {
531 encounter.register((MembersInjector) membersInjector);
743 private static class CountingMembersInjector implements MembersInjector<D> {
765 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;
41 private MembersInjector<T> delegate;
68 public void initializeDelegate(MembersInjector<T> delegate) { in initializeDelegate()
83 public MembersInjector<T> getDelegate() { in getDelegate()
92 public MembersInjector<T> getMembersInjector() { in getMembersInjector()
93 return new MembersInjector<T>() { in getMembersInjector()
96 MembersInjector<T> local = delegate; in getMembersInjector()
DTypeEncounter.java20 import com.google.inject.MembersInjector;
77 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector()
87 <T> MembersInjector<T> getMembersInjector(Class<T> type); in getMembersInjector()
93 void register(MembersInjector<? super I> membersInjector); in register()
/external/guice/core/src/com/google/inject/internal/
DEncounterImpl.java25 import com.google.inject.MembersInjector;
41 private List<MembersInjector<? super T>> membersInjectors; // lazy
77 ImmutableSet<MembersInjector<? super T>> getMembersInjectors() { in getMembersInjectors()
79 ? ImmutableSet.<MembersInjector<? super T>>of() in getMembersInjectors()
90 public void register(MembersInjector<? super T> membersInjector) { in register()
141 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { in getMembersInjector()
147 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> {
39 /* @Nullable */ private final ImmutableList<MembersInjector<? super T>> userMembersInjectors;
154 ImmutableList<MembersInjector<? super T>> localUsersMembersInjectors = userMembersInjectors; in injectMembers()
158 MembersInjector<? super T> userMembersInjector = localUsersMembersInjectors.get(i); 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;
39 MembersInjector<T> membersInjector = in visit()
DDeferredLookups.java21 import com.google.inject.MembersInjector;
57 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> type) { in getMembersInjector()
DInjectorImpl.java34 import com.google.inject.MembersInjector;
322 return key.getTypeLiteral().getRawType().equals(MembersInjector.class) in isMembersInjector()
326 private <T> BindingImpl<MembersInjector<T>> createMembersInjectorBinding( in createMembersInjectorBinding()
327 Key<MembersInjector<T>> key, Errors errors) throws ErrorsException { in createMembersInjectorBinding()
337 MembersInjector<T> membersInjector = membersInjectorStore.get(instanceType, errors); in createMembersInjectorBinding()
339 InternalFactory<MembersInjector<T>> factory = in createMembersInjectorBinding()
340 new ConstantFactory<MembersInjector<T>>(Initializables.of(membersInjector)); in createMembersInjectorBinding()
342 return new InstanceBindingImpl<MembersInjector<T>>( in createMembersInjectorBinding()
1013 MembersInjector membersInjector = getMembersInjector(instance.getClass());
1018 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) {
[all …]
DInternalInjectorCreator.java22 import com.google.inject.MembersInjector;
322 public <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral) { in getMembersInjector()
328 public <T> MembersInjector<T> getMembersInjector(Class<T> type) { in getMembersInjector()
DAbstractBindingProcessor.java25 import com.google.inject.MembersInjector;
50 MembersInjector.class,
/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.java80 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector()
91 <T> MembersInjector<T> getMembersInjector(Class<T> type); in getMembersInjector()
DBinder.java316 <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> typeLiteral); in getMembersInjector()
327 <T> MembersInjector<T> getMembersInjector(Class<T> type); in getMembersInjector()
DAbstractModule.java209 protected <T> MembersInjector<T> getMembersInjector(Class<T> type) { in getMembersInjector()
217 protected <T> MembersInjector<T> getMembersInjector(TypeLiteral<T> type) { in getMembersInjector()
/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()

12