Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/binding/
DInjectionSiteFactory.java92 (InjectionSite injectionSite) -> in getInjectionSites()
93 ancestors.indexOf(injectionSite.element().getEnclosingElement())) in getInjectionSites()
96 .thenComparing(injectionSite -> injectionSite.element().getKind()) in getInjectionSites()
150 private boolean shouldBeInjected(Element injectionSite) { in shouldBeInjected() argument
151 return InjectionAnnotations.hasInjectAnnotation(injectionSite) in shouldBeInjected()
152 && !injectionSite.getModifiers().contains(PRIVATE) in shouldBeInjected()
153 && !injectionSite.getModifiers().contains(STATIC); in shouldBeInjected()
DMembersInjectionBinding.java89 injectionSite -> in hasLocalInjectionSites()
90 injectionSite in hasLocalInjectionSites()
DBindingFactory.java524 .flatMap(injectionSite -> injectionSite.dependencies().stream()) in membersInjectionBinding()
/external/dagger2/java/dagger/internal/codegen/writing/
DInjectionMethods.java267 static MethodSpec create(InjectionSite injectionSite, KotlinMetadataUtil metadataUtil) { in create() argument
268 String methodName = methodName(injectionSite); in create()
269 switch (injectionSite.kind()) { in create()
272 asExecutable(injectionSite.element()), in create()
279 injectionSite.dependencies().stream() in create()
285 return fieldProxy(asVariable(injectionSite.element()), methodName, qualifier); in create()
287 throw new AssertionError(injectionSite); in create()
306 injectionSite -> { in invokeAll()
308 types.erasure(injectionSite.element().getEnclosingElement().asType()); in invokeAll()
323 injectionSite, in invokeAll()
[all …]
DMembersInjectorGenerator.java218 for (InjectionSite injectionSite : binding.injectionSites()) { in topLevelTypes()
219 if (injectionSite in topLevelTypes()
223 injectorTypeBuilder.addMethod(InjectionSiteMethod.create(injectionSite, metadataUtil)); in topLevelTypes()
238 injectionSite -> in qualifierMetadataAnnotation()
239 injectionSite in qualifierMetadataAnnotation()
243 .flatMap(injectionSite -> injectionSite.dependencies().stream()) in qualifierMetadataAnnotation()
DMembersInjectorProviderCreationExpression.java97 injectionSite -> in hasLocalInjectionSites()
98 injectionSite.element().getEnclosingElement().equals(injectedTypeElement)); in hasLocalInjectionSites()