Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DKeyTest.java88 ExecutableElement providesMethod = in forProvidesMethod() local
91 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod)) in forProvidesMethod()
110 ExecutableElement providesMethod = in forProvidesMethod_qualified() local
113 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod); in forProvidesMethod_qualified()
122 ExecutableElement providesMethod = in qualifiedKeyEquivalents() local
125 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod); in qualifiedKeyEquivalents()
164 for (ExecutableElement providesMethod in forProvidesMethod_sets()
167 keyFactory.forProvidesMethod((ExecutableType) providesMethod.asType(), providesMethod)) in forProvidesMethod_sets()
DDependencyRequestMapperTest.java66 ExecutableElement providesMethod = in sampleProviderParameters() local
68 return providesMethod.getParameters(); in sampleProviderParameters()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DProvisionBinding.java158 ProvisionBinding forProvidesMethod(ExecutableElement providesMethod, TypeMirror contributedBy) { in forProvidesMethod() argument
159 checkNotNull(providesMethod); in forProvidesMethod()
160 checkArgument(providesMethod.getKind().equals(METHOD)); in forProvidesMethod()
162 Provides providesAnnotation = providesMethod.getAnnotation(Provides.class); in forProvidesMethod()
166 MoreTypes.asExecutable(types.asMemberOf(declaredContainer, providesMethod)); in forProvidesMethod()
167 Key key = keyFactory.forProvidesMethod(resolvedMethod, providesMethod); in forProvidesMethod()
171 providesMethod.getParameters(), in forProvidesMethod()
173 Scope scope = Scope.scopeOf(providesMethod); in forProvidesMethod()
176 providesMethod, in forProvidesMethod()
180 ConfigurationAnnotations.getNullableType(providesMethod), in forProvidesMethod()
DModuleProcessingStep.java116 public ProvisionBinding apply(ExecutableElement providesMethod) { in process()
117 return provisionBindingFactory.forProvidesMethod(providesMethod, in process()
118 providesMethod.getEnclosingElement().asType()); in process()
DModuleValidator.java247 for (ExecutableElement providesMethod : bindingMethodsByName.get(name)) { in validateProvidesOverrides()
248 if (!failedMethods.contains(providesMethod) in validateProvidesOverrides()
249 && elements.overrides(providesMethod, superclassMethod, subject)) { in validateProvidesOverrides()
250 failedMethods.add(providesMethod); in validateProvidesOverrides()
256 providesMethod); in validateProvidesOverrides() local
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DDaggerMethodScanner.java47 Method providesMethod = (Method) injectionPoint.getMember(); in prepareMethod() local
59 providesMethod); in prepareMethod() local
62 binder.addError("Unknown @Provides type " + annotation.type() + ".", providesMethod); in prepareMethod()