/external/dagger2/java/dagger/internal/codegen/validation/ |
D | MonitoringModuleGenerator.java | 23 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/ |
D | RequestKinds.java | 27 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/ |
D | FrameworkFieldTest.java | 23 import static dagger.internal.codegen.javapoet.TypeNames.providerOf; 51 .isEqualTo(providerOf(xTypeName)); in frameworkType()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | DependencyMethodProviderCreationExpression.java | 23 import static dagger.internal.codegen.javapoet.TypeNames.providerOf; 98 .addSuperinterface(providerOf(keyType)) in creationExpression()
|
D | SwitchingProviders.java | 27 import static dagger.internal.codegen.javapoet.TypeNames.providerOf; 170 .addSuperinterface(providerOf(T)) in build()
|
D | OptionalFactories.java | 33 import static dagger.internal.codegen.javapoet.TypeNames.providerOf; 141 .returns(providerOf(optionalKind.of(typeVariable))) in absentOptionalProviderMethod() 149 providerOf(optionalKind.of(typeVariable)), in absentOptionalProviderMethod()
|
/external/dagger2/java/dagger/internal/codegen/javapoet/ |
D | CodeBlocks.java | 21 import static dagger.internal.codegen.javapoet.TypeNames.providerOf; 103 .superclass(providerOf(providedType)) in anonymousProvider()
|
D | TypeNames.java | 135 public static ParameterizedTypeName providerOf(TypeName typeName) { in providerOf() method in TypeNames
|
/external/guice/core/src/com/google/inject/util/ |
D | Types.java | 134 public static ParameterizedType providerOf(Type providedType) { in providerOf() method in Types
|
/external/guice/core/src/com/google/inject/spi/ |
D | ProviderLookup.java | 118 Key<?> providerKey = getKey().ofType(Types.providerOf(getKey().getTypeLiteral().getType())); in getProvider()
|
/external/guice/core/test/com/google/inject/ |
D | PrivateModuleTest.java | 614 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/ |
D | AssistedFactoryProcessingStep.java | 28 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/ |
D | RealOptionalBinder.java | 162 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()
|
D | RealMultibinder.java | 70 Type providerType = Types.providerOf(elementType.getType()); in collectionOfProvidersOf() 369 Dependency.get(key.ofType(Types.providerOf(key.getTypeLiteral().getType())))); in initialize()
|
D | RealMapBinder.java | 128 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()
|
D | MoreTypes.java | 106 TypeLiteral.get(Types.providerOf(parameterizedType.getActualTypeArguments()[0])); in canonicalizeForKey()
|
/external/guice/core/test/com/google/inject/internal/ |
D | MapBinderTest.java | 136 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()
|
D | MultibinderTest.java | 1474 Dependency.get(key.ofType(Types.providerOf(key.getTypeLiteral().getType()))); in testMultibindingProviderDependencies()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 125 return (TypeLiteral<Provider<T>>) get(Types.providerOf(getType())); in providerType()
|