Home
last modified time | relevance | path

Searched refs:forModule (Results 1 – 19 of 19) 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/binding/
DSubcomponentDeclaration.java70 ImmutableSet<SubcomponentDeclaration> forModule(TypeElement module) { in forModule() method in SubcomponentDeclaration.Factory
DComponentDescriptor.java109 .map(module -> ComponentRequirement.forModule(module.asType())), in dependenciesAndConcreteModules()
143 .map(module -> ComponentRequirement.forModule(module.moduleElement().asType())) in requirements()
DComponentRequirement.java218 public static ComponentRequirement forModule(TypeMirror type) { in forModule() method in ComponentRequirement
DComponentCreatorDescriptor.java220 ? ComponentRequirement.forModule(type) in requirement()
DModuleDescriptor.java178 subcomponentDeclarationFactory.forModule(moduleElement), in createUncached()
DBindingGraph.java269 parameter -> ComponentRequirement.forModule(parameter.asType()), in factoryMethodParameters()
/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/dagger2/java/dagger/internal/codegen/writing/
DSimpleMethodBindingExpression.java178 .map(ComponentRequirement::forModule) in moduleReference()
DComponentBindingExpressions.java163 ComponentRequirement.forModule(binding.contributingModule().get().asType()), in getCreateMethodArgumentsCodeBlocks()
/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()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentHjarGenerator.java207 .map(module -> ComponentRequirement.forModule(module.moduleElement().asType()))); in componentRequirements()
/external/llvm-project/mlir/lib/Bindings/Python/
DIRModules.h352 static PyModuleRef forModule(MlirModule module);
DIRModules.cpp694 PyModuleRef PyModule::forModule(MlirModule module) { in forModule() function in PyModule
724 return forModule(rawModule).releaseObject(); in createFromCapsule()
2734 return PyModule::forModule(module).releaseObject(); in populateIRSubmodule()
2742 return PyModule::forModule(module).releaseObject(); in populateIRSubmodule()