Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/binding/
DProductionBinding.java66 public static ProductionKind fromProducesMethod(ExecutableElement producesMethod) { in fromProducesMethod() argument
67 if (isFutureType(producesMethod.getReturnType())) { in fromProducesMethod()
69 } else if (ContributionType.fromBindingElement(producesMethod) in fromProducesMethod()
71 && isFutureType(SetType.from(producesMethod.getReturnType()).elementType())) { in fromProducesMethod()
DBindingFactory.java238 ExecutableElement producesMethod, TypeElement contributedBy) { in producesMethodBinding() argument
243 producesMethod, in producesMethodBinding()
245 keyFactory.forProducesMethod(producesMethod, contributedBy), in producesMethodBinding()
248 .productionKind(ProductionKind.fromProducesMethod(producesMethod)) in producesMethodBinding()
249 .thrownTypes(producesMethod.getThrownTypes()) in producesMethodBinding()
/external/dagger2/javatests/dagger/internal/codegen/
DKeyFactoryTest.java270 for (ExecutableElement producesMethod in forProducesMethod()
272 Key key = keyFactory.forProducesMethod(producesMethod, moduleElement); in forProducesMethod()
295 for (ExecutableElement producesMethod in forProducesMethod_sets()
297 Key key = keyFactory.forProducesMethod(producesMethod, moduleElement); in forProducesMethod_sets()
302 new MultibindingContributionIdentifier(producesMethod, moduleElement)) in forProducesMethod_sets()
309 producesMethod.getSimpleName())); in forProducesMethod_sets()