Home
last modified time | relevance | path

Searched refs:PROVIDER (Results 1 – 25 of 32) sorted by relevance

12

/external/dagger2/javatests/dagger/internal/codegen/
DFrameworkTypeMapperTest.java24 import static dagger.model.RequestKind.PROVIDER;
35 assertThat(mapper.getFrameworkType(INSTANCE)).isEqualTo(FrameworkType.PROVIDER); in forProvider()
36 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProvider()
37 assertThat(mapper.getFrameworkType(PROVIDER)).isEqualTo(FrameworkType.PROVIDER); in forProvider()
43 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProducer()
44 assertThat(mapper.getFrameworkType(PROVIDER)).isEqualTo(FrameworkType.PROVIDER); in forProducer()
DFrameworkFieldTest.java21 import static dagger.internal.codegen.javapoet.TypeNames.PROVIDER;
49 assertThat(FrameworkField.create(PROVIDER, xTypeName, "test").type()) in frameworkType()
56 assertThat(FrameworkField.create(PROVIDER, xTypeName, "foo").name()) in nameSuffix()
58 assertThat(FrameworkField.create(PROVIDER, xTypeName, "fooProvider").name()) in nameSuffix()
/external/dagger2/java/dagger/internal/codegen/
DFrameworkTypeMapper.java40 case PROVIDER: in FOR_PROVIDER()
43 return FrameworkType.PROVIDER; in FOR_PROVIDER()
60 case PROVIDER: in FOR_PRODUCER()
63 return FrameworkType.PROVIDER; in FOR_PRODUCER()
83 return frameworkTypes.size() == 1 ? getOnlyElement(frameworkTypes) : FrameworkType.PROVIDER; in getFrameworkType()
DFrameworkType.java46 PROVIDER { enumConstant
54 return Optional.of(RequestKind.PROVIDER); in requestKind()
66 case PROVIDER: in to()
94 case PROVIDER: in to()
165 return PROVIDER; in forBindingType()
176 case PROVIDER: in forRequestKind()
177 return Optional.of(FrameworkType.PROVIDER); in forRequestKind()
DRequestKinds.java34 import static dagger.model.RequestKind.PROVIDER;
74 case PROVIDER: in requestTypeName()
99 PROVIDER, Provider.class,
109 if (kind.equals(PROVIDER) && matchesKind(LAZY, extractKeyType(kind, type))) { in getRequestKind()
143 return extractKeyType(LAZY, extractKeyType(PROVIDER, type)); in extractKeyType()
175 case PROVIDER: in canBeSatisfiedByProductionBinding()
DOptionalFactories.java33 import static dagger.internal.codegen.javapoet.TypeNames.PROVIDER;
163 PROVIDER,
234 case PROVIDER:
244 case PROVIDER:
355 case PROVIDER:
362 FrameworkType.PROVIDER.to(
DProducerFromProviderCreationExpression.java47 return FrameworkType.PROVIDER.to( in creationExpression()
51 bindingRequest(binding.key(), FrameworkType.PROVIDER), in creationExpression()
DComponentBindingExpressions.java259 request.key(), FrameworkType.PROVIDER, requestKind, this, types)); in getBindingExpression()
420 case PROVIDER: in provisionBindingExpression()
427 resolvedBindings.key(), FrameworkType.PROVIDER, requestKind, this, types); in provisionBindingExpression()
471 resolvedBindings, RequestKind.PROVIDER, this, types, elements); in providerBindingExpression()
478 bindingRequest(resolvedBindings.key(), RequestKind.PROVIDER), in providerBindingExpression()
527 resolvedBindings.key(), FrameworkType.PROVIDER, RequestKind.INSTANCE, this, types); in instanceBindingExpression()
687 if (request.isRequestKind(RequestKind.PROVIDER)) { in methodImplementationStrategy()
DDependencyRequestFactory.java32 import static dagger.model.RequestKind.PROVIDER;
107 ImmutableSet.of(PROVIDER, PRODUCER);
190 .kind(PROVIDER) in forProductionImplementationExecutor()
197 .kind(PROVIDER) in forProductionComponentMonitor()
DFrameworkFieldInitializer.java181 isProvider() ? FrameworkType.PROVIDER : FrameworkType.PRODUCER_NODE))) in isReplacingSuperclassFrameworkInstance()
193 .map(TypeNames.PROVIDER::equals) in isProvider()
DProviderInstanceBindingExpression.java39 return FrameworkType.PROVIDER; in frameworkType()
DPrunedConcreteMethodBindingExpression.java60 case PROVIDER: in getModifiableBindingMethodImplementation()
DMemberSelect.java29 import static dagger.internal.codegen.javapoet.TypeNames.PROVIDER;
196 MAP_FACTORY, typeParameters, CodeBlock.of("emptyMapProvider()"), PROVIDER); in emptyMapFactory()
DDependencyVariableNamer.java62 case PROVIDER: in name()
DDependencyRequestFormatter.java139 case PROVIDER: in componentMethodRequestVerb()
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DDefaultEdgeCreator.java140 BindingEdge.Type.PROVIDER)); in visit()
154 BindingEdge.Type.PROVIDER)) in visit()
169 BindingEdge.Type.PROVIDER)); in visit()
DBindingEdge.java33 PROVIDER, enumConstant
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DAntlr3.Runtime.csproj.vspscc9 "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DAntlr3.Runtime.Debug.csproj.vspscc9 "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DAntlr3.Runtime.Test.csproj.vspscc9 "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DAntlr3.Runtime.JavaExtensions.csproj.vspscc9 "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
/external/antlr/runtime/C/
DC.vcproj.vspscc13 "SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
/external/dagger2/java/dagger/internal/codegen/javapoet/
DTypeNames.java79 public static final ClassName PROVIDER = ClassName.get(Provider.class); field in TypeNames
131 return ParameterizedTypeName.get(PROVIDER, typeName); in providerOf()
/external/dagger2/java/dagger/model/
DRequestKind.java39 PROVIDER, enumConstant
/external/dagger2/java/dagger/internal/codegen/serialization/
Dserialization.proto43 PROVIDER = 2; enumerator
57 PROVIDER = 1; enumerator

12