Home
last modified time | relevance | path

Searched refs:injectionSite (Results 1 – 2 of 2) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMembersInjectorGenerator.java98 @Override public Element apply(InjectionSite injectionSite) { in getOriginatingElements()
99 return injectionSite.element(); in getOriginatingElements()
208 for (InjectionSite injectionSite : binding.injectionSites()) {
212 visibleToMembersInjector(binding, injectionSite.element())
213 ? directInjectMemberSnippet(binding, dependencyFields, injectionSite)
214 : delegateInjectMemberSnippet(dependencyFields, injectionSite));
215 if (!injectionSite.element().getModifiers().contains(PUBLIC)
216 && injectionSite.element().getEnclosingElement().equals(binding.bindingElement())
217 && delegateMethods.add(injectionSiteDelegateMethodName(injectionSite.element()))) {
223 injectionSite.element(),
[all …]
DMembersInjectionBinding.java110 protected int indexAmongSiblingMembers(InjectionSite injectionSite) { in indexAmongSiblingMembers() argument
111 return injectionSite in indexAmongSiblingMembers()
115 .indexOf(injectionSite.element()); in indexAmongSiblingMembers()
238 InjectionSite injectionSite = maybeInjectionSite.get(); in getInjectionSites() local
239 if (shouldBeInjected(injectionSite.element(), overriddenMethodMap)) { in getInjectionSites()
240 injectionSites.add(injectionSite); in getInjectionSites()
242 if (injectionSite.kind() == InjectionSite.Kind.METHOD) { in getInjectionSites()
244 MoreElements.asExecutable(injectionSite.element()); in getInjectionSites()
273 Element injectionSite, SetMultimap<String, ExecutableElement> overriddenMethodMap) { in shouldBeInjected() argument
274 if (!isAnnotationPresent(injectionSite, Inject.class) in shouldBeInjected()
[all …]