Home
last modified time | relevance | path

Searched refs:forModule (Results 1 – 18 of 18) sorted by relevance

/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DThrowingProviderTest.java90 install(ThrowingProviderBinder.forModule(this));
250 install(ThrowingProviderBinder.forModule(this)); in testAnnotations_Provides()
353 install(ThrowingProviderBinder.forModule(this)); in testBindingToNonInterfaceType_Provides()
396 install(ThrowingProviderBinder.forModule(this)); in testBindingToSubSubInterface_Provides()
443 install(ThrowingProviderBinder.forModule(this)); in testBindingToInterfaceWithExtraMethod_Provides()
519 install(ThrowingProviderBinder.forModule(this)); in testDependencies_Provides()
638 install(ThrowingProviderBinder.forModule(this)); in testBindingToInterfaceWithBoundValueType_Provides()
682 install(ThrowingProviderBinder.forModule(this)); in testBindingToInterfaceWithGeneric_Provides()
703 install(ThrowingProviderBinder.forModule(this)); in testProviderMethodWithWrongException()
731 install(ThrowingProviderBinder.forModule(this)); in testProviderMethodWithSubclassOfExceptionIsOk()
[all …]
DCheckedProviderTest.java122 install(ThrowingProviderBinder.forModule(this)); in setUp()
329 install(ThrowingProviderBinder.forModule(this)); in testAnnotations_Provides()
462 install(ThrowingProviderBinder.forModule(this)); in testBindingToNonInterfaceType_Provides()
504 install(ThrowingProviderBinder.forModule(this)); in testBindingToSubSubInterface_Provides()
551 install(ThrowingProviderBinder.forModule(this)); in testBindingToInterfaceWithExtraMethod_Provides()
620 install(ThrowingProviderBinder.forModule(this)); in testDependencies_Provides()
877 install(ThrowingProviderBinder.forModule(this)); in testBindingToInterfaceWithBoundValueType_Provides()
948 install(ThrowingProviderBinder.forModule(this)); in testBindingToInterfaceWithGeneric_Provides()
992 install(ThrowingProviderBinder.forModule(this)); in testProviderMethodWithWrongException()
1059 install(ThrowingProviderBinder.forModule(this)); in testProviderMethodWithSubclassOfExceptionIsOk()
[all …]
DCheckedProviderMethodsModuleTest.java68 install(ThrowingProviderBinder.forModule(this)); in configure()
113 install(ThrowingProviderBinder.forModule(this)); in configure()
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DDaggerAdapter.java80 binder.install(ProviderMethodsModule.forModule(module, DaggerMethodScanner.INSTANCE)); in configure()
/external/dagger2/java/dagger/internal/codegen/
DSubcomponentDeclaration.java68 ImmutableSet<SubcomponentDeclaration> forModule(TypeElement module) { in forModule() method in SubcomponentDeclaration.Factory
DComponentDescriptor.java108 .map(module -> ComponentRequirement.forModule(module.asType())), in dependenciesAndConcreteModules()
142 .map(module -> ComponentRequirement.forModule(module.moduleElement().asType())) in requirements()
DBindingGraph.java139 builder.put(ComponentRequirement.forModule(parameter.asType()), parameter); in factoryMethodParameters()
DComponentRequirement.java222 static ComponentRequirement forModule(TypeMirror type) { in forModule() method in ComponentRequirement
DComponentCreatorDescriptor.java219 ? ComponentRequirement.forModule(type) in requirement()
DSimpleMethodBindingExpression.java183 .map(ComponentRequirement::forModule) in moduleReference()
DModuleDescriptor.java164 subcomponentDeclarationFactory.forModule(moduleElement), in createUncached()
DDeserializedComponentImplementationBuilder.java242 return ComponentRequirement.forModule(typeProtoConverter.fromProto(proto.getModule())); in fromProto()
DComponentHjarProcessingStep.java237 .map(module -> ComponentRequirement.forModule(module.moduleElement().asType()))); in componentRequirements()
DComponentBindingExpressions.java158 ComponentRequirement.forModule(binding.contributingModule().get().asType()), in getCreateMethodArgumentsCodeBlocks()
/external/guice/core/src/com/google/inject/internal/
DProviderMethodsModule.java64 public static Module forModule(Module module) { in forModule() method in ProviderMethodsModule
69 public static Module forModule(Object module, ModuleAnnotatedMethodScanner scanner) { in forModule() method in ProviderMethodsModule
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java112 public static Module forModule(Module module) { in forModule() method in ThrowingProviderBinder
113 return CheckedProviderMethodsModule.forModule(module); in forModule()
DCheckedProviderMethodsModule.java58 static Module forModule(Module module) { in forModule() method in CheckedProviderMethodsModule
/external/guice/core/src/com/google/inject/spi/
DElements.java298 info.binder.install(ProviderMethodsModule.forModule(module, scanner)); in scanForAnnotatedMethods()
353 binder.install(ProviderMethodsModule.forModule(module)); in install()