Home
last modified time | relevance | path

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

/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DDaggerMethodScanner.java52 Method providesMethod = (Method) injectionPoint.getMember(); in prepareMethod() local
54 if (providesMethod.isAnnotationPresent(IntoSet.class)) { in prepareMethod()
56 } else if (providesMethod.isAnnotationPresent(ElementsIntoSet.class)) { in prepareMethod()
57 binder.addError("@ElementsIntoSet contributions are not suppored by Guice.", providesMethod); in prepareMethod()
59 } else if (providesMethod.isAnnotationPresent(IntoMap.class)) { in prepareMethod()
72 Type.SET_VALUES.name() + " contributions are not supported by Guice.", providesMethod); in prepareMethod() local
75 binder.addError("Unknown @Provides type " + annotation.type() + ".", providesMethod); in prepareMethod()
/external/dagger2/javatests/dagger/internal/codegen/
DKeyFactoryTest.java92 ExecutableElement providesMethod = in forProvidesMethod() local
94 Key key = keyFactory.forProvidesMethod(providesMethod, moduleElement); in forProvidesMethod()
112 ExecutableElement providesMethod = in forProvidesMethod_qualified() local
114 Key key = keyFactory.forProvidesMethod(providesMethod, moduleElement); in forProvidesMethod_qualified()
134 ExecutableElement providesMethod = in qualifiedKeyEquivalents() local
136 Key provisionKey = keyFactory.forProvidesMethod(providesMethod, moduleElement); in qualifiedKeyEquivalents()
201 for (ExecutableElement providesMethod in forProvidesMethod_sets()
203 Key key = keyFactory.forProvidesMethod(providesMethod, moduleElement); in forProvidesMethod_sets()
208 new MultibindingContributionIdentifier(providesMethod, moduleElement)) in forProvidesMethod_sets()
215 providesMethod.getSimpleName())); in forProvidesMethod_sets()
/external/dagger2/java/dagger/hilt/android/processor/internal/bindvalue/
DBindValueGenerator.java82 .map(this::providesMethod) in generate()
122 private MethodSpec providesMethod(BindValueElement bindValue) { in providesMethod() method in BindValueGenerator
/external/dagger2/java/dagger/internal/codegen/binding/
DBindingFactory.java218 ExecutableElement providesMethod, TypeElement contributedBy) { in providesMethodBinding() argument
221 providesMethod, in providesMethodBinding()
223 keyFactory.forProvidesMethod(providesMethod, contributedBy), in providesMethodBinding()
226 .scope(uniqueScopeOf(providesMethod)) in providesMethodBinding()
227 .nullableType(getNullableType(providesMethod)) in providesMethodBinding()