Home
last modified time | relevance | path

Searched refs:injectionPoints (Results 1 – 11 of 11) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DInstanceBindingImpl.java34 final ImmutableSet<InjectionPoint> injectionPoints; field in InstanceBindingImpl
41 Set<InjectionPoint> injectionPoints, in InstanceBindingImpl() argument
44 this.injectionPoints = ImmutableSet.copyOf(injectionPoints); in InstanceBindingImpl()
49 Object source, Key<T> key, Scoping scoping, Set<InjectionPoint> injectionPoints, T instance) { in InstanceBindingImpl() argument
51 this.injectionPoints = ImmutableSet.copyOf(injectionPoints); in InstanceBindingImpl()
67 return injectionPoints; in getInjectionPoints()
74 : Dependency.forInjectionPoints(injectionPoints); in getDependencies()
79 return new InstanceBindingImpl<T>(getSource(), getKey(), scoping, injectionPoints, instance); in withScoping()
84 return new InstanceBindingImpl<T>(getSource(), key, getScoping(), injectionPoints, instance); in withKey()
DProviderInstanceBindingImpl.java37 final ImmutableSet<InjectionPoint> injectionPoints; field in ProviderInstanceBindingImpl
46 Set<InjectionPoint> injectionPoints) { in ProviderInstanceBindingImpl() argument
49 this.injectionPoints = ImmutableSet.copyOf(injectionPoints); in ProviderInstanceBindingImpl()
56 Set<InjectionPoint> injectionPoints, in ProviderInstanceBindingImpl() argument
59 this.injectionPoints = ImmutableSet.copyOf(injectionPoints); in ProviderInstanceBindingImpl()
85 return injectionPoints; in getInjectionPoints()
92 : Dependency.forInjectionPoints(injectionPoints); in getDependencies()
98 getSource(), getKey(), scoping, injectionPoints, providerInstance); in withScoping()
104 getSource(), key, getScoping(), injectionPoints, providerInstance); in withKey()
DBindingBuilder.java86 Set<InjectionPoint> injectionPoints; in toInstance() local
89 injectionPoints = InjectionPoint.forInstanceMethodsAndFields(instance.getClass()); in toInstance()
92 injectionPoints = e.getPartialValue(); in toInstance()
96 injectionPoints = ImmutableSet.of(); in toInstance()
102 base.getSource(), base.getKey(), Scoping.EAGER_SINGLETON, injectionPoints, instance)); in toInstance()
116 Set<InjectionPoint> injectionPoints; in toProvider() local
118 injectionPoints = InjectionPoint.forInstanceMethodsAndFields(provider.getClass()); in toProvider()
121 injectionPoints = e.getPartialValue(); in toProvider()
127 base.getSource(), base.getKey(), base.getScoping(), injectionPoints, provider)); in toProvider()
170 Set<InjectionPoint> injectionPoints; in toConstructor() local
[all …]
DInjectionRequestProcessor.java54 Set<InjectionPoint> injectionPoints; in visit() local
56 injectionPoints = request.getInjectionPoints(); in visit()
59 injectionPoints = e.getPartialValue(); in visit()
63 injector, request.getInstance(), null, request.getSource(), injectionPoints); in visit()
99 Set<InjectionPoint> injectionPoints; in validate() local
101 injectionPoints = request.getInjectionPoints(); in validate()
104 injectionPoints = e.getPartialValue(); in validate()
106 if (injectionPoints != null) { in validate()
108 injector.membersInjectorStore.getInjectors(injectionPoints, errorsForMember); in validate()
DMembersInjectorStore.java86 Set<InjectionPoint> injectionPoints; in createWithListeners() local
88 injectionPoints = InjectionPoint.forInstanceMethodsAndFields(type); in createWithListeners()
91 injectionPoints = e.getPartialValue(); in createWithListeners()
93 ImmutableList<SingleMemberInjector> injectors = getInjectors(injectionPoints, errors); in createWithListeners()
117 Set<InjectionPoint> injectionPoints, Errors errors) { in getInjectors() argument
119 for (InjectionPoint injectionPoint : injectionPoints) { in getInjectors()
DBindingProcessor.java98 Set<InjectionPoint> injectionPoints = binding.getInjectionPoints(); in visit() local
104 injector, instance, (Binding<T>) binding, source, injectionPoints); in visit()
110 injector, key, source, scopedFactory, injectionPoints, instance)); in visit()
124 Set<InjectionPoint> injectionPoints = binding.getInjectionPoints(); in visit() local
127 injector, provider, null, source, injectionPoints); in visit()
139 injector, key, source, scopedFactory, scoping, provider, injectionPoints)); in visit()
DInitializer.java81 Set<InjectionPoint> injectionPoints) { in requestInjection() argument
90 || (injectionPoints.isEmpty() in requestInjection()
DConstructorBindingImpl.java67 Set<InjectionPoint> injectionPoints) { in ConstructorBindingImpl() argument
74 new ConstructorInjector<T>(injectionPoints, constructionProxy, null, null); in ConstructorBindingImpl()
/external/guice/core/src/com/google/inject/util/
DProviders.java98 Set<InjectionPoint> injectionPoints = in guicify() local
100 if (injectionPoints.isEmpty()) { in guicify()
104 for (InjectionPoint ip : injectionPoints) { in guicify()
/external/guice/core/src/com/google/inject/spi/
DDependency.java61 public static Set<Dependency<?>> forInjectionPoints(Set<InjectionPoint> injectionPoints) { in forInjectionPoints() argument
63 for (InjectionPoint injectionPoint : injectionPoints) { in forInjectionPoints()
/external/guice/core/test/com/google/inject/spi/
DInjectionPointTest.java204 Set<InjectionPoint> injectionPoints = in testAddForInstanceMethodsAndFields() local
207 assertThat(injectionPoints) in testAddForInstanceMethodsAndFields()
220 Set<InjectionPoint> injectionPoints = in testAddForStaticMethodsAndFields() local
223 assertThat(injectionPoints) in testAddForStaticMethodsAndFields()