Home
last modified time | relevance | path

Searched refs:MembersInjector (Results 1 – 25 of 41) 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/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/dagger2/java/dagger/internal/
DMembersInjectors.java21 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> {
/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()
/external/dagger2/javatests/dagger/functional/membersinject/
DMembersInjectTest.java23 import dagger.MembersInjector;
95 MembersInjector<NonRequestedChild> injector = new NonRequestedChild_MembersInjector(provider); in testNonRequestedMembersInjector()
114 MembersInjector<A> getAMembersInjector(); in getAMembersInjector()
124 MembersInjector<A> membersInjector = DaggerMembersInjectTest_NonLocalMembersComponent.factory() in testNonLocalMembersInjection()
DRawFrameworkTypes.java20 import dagger.MembersInjector;
28 void nonInjectMethodWithARawMembersInjector(MembersInjector rawMembersInjector) {} in nonInjectMethodWithARawMembersInjector()
/external/dagger2/javatests/dagger/functional/
DBasicComponent.java21 import dagger.MembersInjector;
84 MembersInjector<InjectedThing> injectedThingMembersInjector(); in injectedThingMembersInjector()
91 MembersInjector<TypeWithInheritedMembersInjection>
DInjector.java20 import dagger.MembersInjector;
30 MembersInjector<T> membersInjector(); in membersInjector()
DInjectedThing.java20 import dagger.MembersInjector;
93 @Inject MembersInjector<Thing> thingMembersInjector;
163 MembersInjector<Thing> thingMembersInjector) {} in InjectedThing()
232 @Inject void thingMembersInjector(MembersInjector<Thing> thingMembersInjector) {} in thingMembersInjector()
/external/dagger2/javatests/dagger/functional/tck/
DEngineModule.java19 import dagger.MembersInjector;
28 static Engine provideEngine(MembersInjector<V8Engine> injector) { in provideEngine()
/external/dagger2/java/dagger/internal/codegen/base/
DFrameworkTypes.java24 import dagger.MembersInjector;
37 ImmutableSet.of(Provider.class, Lazy.class, MembersInjector.class);
/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()
DMembersInjector.java28 public interface MembersInjector<T> { interface
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/java/dagger/
DMembersInjector.java28 public interface MembersInjector<T> { interface
/external/dagger2/java/dagger/internal/codegen/binding/
DBindingType.java19 import dagger.MembersInjector;

12