Searched refs:providesMethod (Results 1 – 6 of 6) sorted by relevance
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | KeyTest.java | 88 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()
|
D | DependencyRequestMapperTest.java | 66 ExecutableElement providesMethod = in sampleProviderParameters() local 68 return providesMethod.getParameters(); in sampleProviderParameters()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | ProvisionBinding.java | 158 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()
|
D | ModuleProcessingStep.java | 116 public ProvisionBinding apply(ExecutableElement providesMethod) { in process() 117 return provisionBindingFactory.forProvidesMethod(providesMethod, in process() 118 providesMethod.getEnclosingElement().asType()); in process()
|
D | ModuleValidator.java | 247 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/ |
D | DaggerMethodScanner.java | 47 Method providesMethod = (Method) injectionPoint.getMember(); in prepareMethod() local 59 providesMethod); in prepareMethod() local 62 binder.addError("Unknown @Provides type " + annotation.type() + ".", providesMethod); in prepareMethod()
|