Home
last modified time | relevance | path

Searched refs:providerOf (Results 1 – 21 of 21) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/validation/
DMonitoringModuleGenerator.java23 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
95 .addParameter(providerOf(ClassName.get(componentElement.asType())), "component") in monitor()
97 providerOf(setOf(PRODUCTION_COMPONENT_MONITOR_FACTORY)), "factories") in monitor()
/external/dagger2/java/dagger/internal/codegen/base/
DRequestKinds.java27 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
75 return providerOf(keyType); in requestTypeName()
81 return providerOf(lazyOf(keyType)); in requestTypeName()
/external/dagger2/javatests/dagger/internal/codegen/
DFrameworkFieldTest.java23 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
51 .isEqualTo(providerOf(xTypeName)); in frameworkType()
/external/dagger2/java/dagger/internal/codegen/javapoet/
DCodeBlocks.java21 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
103 .superclass(providerOf(providedType)) in anonymousProvider()
DTypeNames.java135 public static ParameterizedTypeName providerOf(TypeName typeName) { in providerOf() method in TypeNames
/external/dagger2/java/dagger/internal/codegen/writing/
DDependencyMethodProviderCreationExpression.java23 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
98 .addSuperinterface(providerOf(keyType)) in creationExpression()
DSwitchingProviders.java27 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
170 .addSuperinterface(providerOf(T)) in build()
DOptionalFactories.java33 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
141 .returns(providerOf(optionalKind.of(typeVariable))) in absentOptionalProviderMethod()
149 providerOf(optionalKind.of(typeVariable)), in absentOptionalProviderMethod()
/external/guice/core/src/com/google/inject/spi/
DProviderLookup.java118 Key<?> providerKey = getKey().ofType(Types.providerOf(getKey().getTypeLiteral().getType())); in getProvider()
/external/guice/core/src/com/google/inject/util/
DTypes.java134 public static ParameterizedType providerOf(Type providedType) { in providerOf() method in Types
/external/guice/core/test/com/google/inject/
DPrivateModuleTest.java614 injector.getBinding(Key.get(Types.providerOf(List.class))); in testParentBindingToPrivateLinkedJitBinding()
674 getProvider(Key.get(Types.providerOf(List.class))); in configure()
691 getProvider(Key.get(Types.providerOf(List.class))); in configure()
/external/dagger2/java/dagger/internal/codegen/
DAssistedFactoryProcessingStep.java28 import static dagger.internal.codegen.javapoet.TypeNames.providerOf;
325 .returns(providerOf(TypeName.get(factory.asType()))) in write()
/external/guice/core/src/com/google/inject/internal/
DRealOptionalBinder.java162 static <T> Key<Provider<T>> providerOf(Key<T> key) { in providerOf() method in RealOptionalBinder
163 Type providerT = Types.providerOf(key.getTypeLiteral().getType()); in providerOf()
637 ImmutableSet.<Dependency<?>>of(Dependency.get(providerOf(binding.getKey()))); in initialize()
DRealMultibinder.java70 Type providerType = Types.providerOf(elementType.getType()); in collectionOfProvidersOf()
369 Dependency.get(key.ofType(Types.providerOf(key.getTypeLiteral().getType())))); in initialize()
DRealMapBinder.java128 TypeLiteral.get(Types.mapOf(keyType.getType(), Types.providerOf(valueType.getType()))); in mapOfProviderOf()
147 Types.mapOf(keyType.getType(), Types.setOf(Types.providerOf(valueType.getType())))); in mapOfSetOfProviderOf()
165 keyType.getType(), Types.collectionOf(Types.providerOf(valueType.getType())))); in mapOfCollectionOfProviderOf()
187 Types.providerOf(valueType.getType()))); in entryOfProviderOf()
214 valueKey.ofType(Types.providerOf(valueKey.getTypeLiteral().getType())); in getKeyOfProvider()
DMoreTypes.java106 TypeLiteral.get(Types.providerOf(parameterizedType.getActualTypeArguments()[0])); in canonicalizeForKey()
/external/guice/core/test/com/google/inject/internal/
DMapBinderTest.java136 Key.get(Types.mapOf(String.class, Types.providerOf(String.class))), in testAllBindings()
142 Key.get(Types.mapOf(String.class, Types.setOf(Types.providerOf(String.class)))), in testAllBindings()
148 Types.mapOf(String.class, Types.collectionOf(Types.providerOf(String.class)))), in testAllBindings()
154 Key.get(Types.setOf(mapEntryOf(String.class, Types.providerOf(String.class)))), in testAllBindings()
160 Types.providerOf( in testAllBindings()
161 mapEntryOf(String.class, Types.providerOf(String.class))))), in testAllBindings()
166 mapEntryOf(String.class, Types.providerOf(String.class))))), in testAllBindings()
DMultibinderTest.java1474 Dependency.get(key.ofType(Types.providerOf(key.getTypeLiteral().getType()))); in testMultibindingProviderDependencies()
/external/guice/core/src/com/google/inject/
DTypeLiteral.java125 return (TypeLiteral<Provider<T>>) get(Types.providerOf(getType())); in providerType()
/external/testng/lib-supplied/
Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ ...
/external/dagger2/java/dagger/internal/codegen/bootstrap/
Dbootstrap_compiler_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties META-INF ...