Home
last modified time | relevance | path

Searched refs:producesMethod (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProductionBinding.java107 ExecutableElement producesMethod, TypeMirror contributedBy) { in forProducesMethod() argument
108 checkNotNull(producesMethod); in forProducesMethod()
109 checkArgument(producesMethod.getKind().equals(METHOD)); in forProducesMethod()
111 Produces producesAnnotation = producesMethod.getAnnotation(Produces.class); in forProducesMethod()
115 MoreTypes.asExecutable(types.asMemberOf(declaredContainer, producesMethod)); in forProducesMethod()
116 Key key = keyFactory.forProducesMethod(resolvedMethod, producesMethod); in forProducesMethod()
120 producesMethod.getParameters(), in forProducesMethod()
124 Kind kind = MoreTypes.isTypeOf(ListenableFuture.class, producesMethod.getReturnType()) in forProducesMethod()
129 producesMethod, in forProducesMethod()
133 ConfigurationAnnotations.getNullableType(producesMethod), in forProducesMethod()
[all …]
DProducerModuleProcessingStep.java119 public ProductionBinding apply(ExecutableElement producesMethod) { in process()
120 return productionBindingFactory.forProducesMethod(producesMethod, in process()
121 producesMethod.getEnclosingElement().asType()); in process()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DKeyTest.java225 for (ExecutableElement producesMethod in forProducesMethod()
228 (ExecutableType) producesMethod.asType(), producesMethod)) in forProducesMethod()
252 for (ExecutableElement producesMethod in forProducesMethod_sets()
255 (ExecutableType) producesMethod.asType(), producesMethod)) in forProducesMethod_sets()
DDependencyRequestMapperTest.java74 ExecutableElement producesMethod = in sampleProducerParameters() local
76 return producesMethod.getParameters(); in sampleProducerParameters()