/external/dagger2/java/dagger/internal/codegen/base/ |
D | RequestKinds.java | 29 import static dagger.model.RequestKind.LAZY; 30 import static dagger.model.RequestKind.PRODUCED; 31 import static dagger.model.RequestKind.PRODUCER; 32 import static dagger.model.RequestKind.PROVIDER; 33 import static dagger.model.RequestKind.PROVIDER_OF_LAZY; 41 import dagger.model.RequestKind; 52 RequestKind requestKind, TypeMirror type, DaggerTypes types) { in requestType() 69 public static TypeName requestTypeName(RequestKind requestKind, TypeName keyType) { in requestTypeName() 97 private static final ImmutableMap<RequestKind, Class<?>> FRAMEWORK_CLASSES = 105 public static RequestKind getRequestKind(TypeMirror type) { in getRequestKind() [all …]
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | FrameworkType.java | 21 import static dagger.model.RequestKind.INSTANCE; 36 import dagger.model.RequestKind; 54 public Optional<RequestKind> requestKind() { in requestKind() 55 return Optional.of(RequestKind.PROVIDER); in requestKind() 59 public CodeBlock to(RequestKind requestKind, CodeBlock from) { in to() 89 public Expression to(RequestKind requestKind, Expression from, DaggerTypes types) { in to() 124 public Optional<RequestKind> requestKind() { in requestKind() 129 public CodeBlock to(RequestKind requestKind, CodeBlock from) { in to() 144 public Expression to(RequestKind requestKind, Expression from, DaggerTypes types) { in to() 175 public static Optional<FrameworkType> forRequestKind(RequestKind requestKind) { in forRequestKind() [all …]
|
D | DependencyRequestFactory.java | 29 import static dagger.model.RequestKind.FUTURE; 30 import static dagger.model.RequestKind.INSTANCE; 31 import static dagger.model.RequestKind.MEMBERS_INJECTION; 32 import static dagger.model.RequestKind.PRODUCER; 33 import static dagger.model.RequestKind.PROVIDER; 42 import dagger.model.RequestKind; 108 private static final ImmutableSet<RequestKind> WRAPPING_MAP_VALUE_FRAMEWORK_TYPES = 111 private RequestKind multibindingContributionRequestKind( in multibindingContributionRequestKind() 116 for (RequestKind kind : WRAPPING_MAP_VALUE_FRAMEWORK_TYPES) { in multibindingContributionRequestKind() 210 DependencyRequest forSyntheticPresentOptionalBinding(Key requestKey, RequestKind kind) { in forSyntheticPresentOptionalBinding() [all …]
|
D | FrameworkTypeMapper.java | 21 import dagger.model.RequestKind; 32 public FrameworkType getFrameworkType(RequestKind requestKind) { in FOR_PROVIDER() 49 public FrameworkType getFrameworkType(RequestKind requestKind) { in FOR_PRODUCER() 69 public abstract FrameworkType getFrameworkType(RequestKind requestKind); in getFrameworkType()
|
D | BindingRequest.java | 25 import dagger.model.RequestKind; 45 public static BindingRequest bindingRequest(Key key, RequestKind requestKind) { in bindingRequest() 71 public abstract Optional<RequestKind> requestKind(); in requestKind() 77 public final boolean isRequestKind(RequestKind requestKind) { in isRequestKind()
|
D | LegacyBindingGraph.java | 25 import dagger.model.RequestKind; 54 return request.isRequestKind(RequestKind.MEMBERS_INJECTION) in resolvedBindings()
|
D | BindingFactory.java | 68 import dagger.model.RequestKind; 205 .kind(RequestKind.PROVIDER) in assistedFactoryBinding() 502 RequestKind requestKind, in syntheticOptionalBinding() 515 || requestKind.equals(RequestKind.PRODUCER) // handles producerFromProvider cases in syntheticOptionalBinding() 516 || requestKind.equals(RequestKind.PRODUCED); // handles producerFromProvider cases in syntheticOptionalBinding()
|
D | SourceFiles.java | 58 import dagger.model.RequestKind; 107 CodeBlock frameworkTypeMemberSelect, RequestKind dependencyKind) { in frameworkTypeUsageStatement()
|
/external/dagger2/javatests/dagger/internal/codegen/ |
D | FrameworkTypeMapperTest.java | 20 import static dagger.model.RequestKind.INSTANCE; 21 import static dagger.model.RequestKind.LAZY; 22 import static dagger.model.RequestKind.PRODUCED; 23 import static dagger.model.RequestKind.PRODUCER; 24 import static dagger.model.RequestKind.PROVIDER;
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ComponentBindingExpressions.java | 62 import dagger.model.RequestKind; 202 if (dependencyRequest.kind().equals(RequestKind.INSTANCE) in getDependencyArgumentExpression() 246 request.isRequestKind(RequestKind.MEMBERS_INJECTION) in getBindingExpression() 268 checkArgument(request.isRequestKind(RequestKind.MEMBERS_INJECTION)); in createBindingExpression() 407 RequestKind requestKind = request.requestKind().get(); in provisionBindingExpression() 442 RequestKind requestKind = request.requestKind().get(); in productionBindingExpression() 462 return new DelegateBindingExpression(binding, RequestKind.PROVIDER, this, types, elements); in providerBindingExpression() 470 bindingRequest(binding.key(), RequestKind.PROVIDER), in providerBindingExpression() 511 bindingRequest(binding.key(), RequestKind.INSTANCE), in instanceBindingExpression() 516 binding.key(), FrameworkType.PROVIDER, RequestKind.INSTANCE, this, types); in instanceBindingExpression() [all …]
|
D | DerivedFromFrameworkInstanceBindingExpression.java | 29 import dagger.model.RequestKind; 35 private final RequestKind requestKind; 43 RequestKind requestKind, in DerivedFromFrameworkInstanceBindingExpression()
|
D | ProducerEntryPointView.java | 28 import dagger.model.RequestKind; 61 && (componentMethod.dependencyRequest().get().kind().equals(RequestKind.FUTURE) in getProducerEntryPointField() 62 || componentMethod.dependencyRequest().get().kind().equals(RequestKind.PRODUCER))) { in getProducerEntryPointField()
|
D | DelegateBindingExpression.java | 35 import dagger.model.RequestKind; 41 private final RequestKind requestKind; 48 RequestKind requestKind, in DelegateBindingExpression()
|
D | ProducerFromProviderCreationExpression.java | 28 import dagger.model.RequestKind; 50 RequestKind.PRODUCER, in creationExpression()
|
D | ImmediateFutureBindingExpression.java | 29 import dagger.model.RequestKind; 59 bindingRequest(key, RequestKind.INSTANCE), requestingClass); in instanceExpression()
|
D | MethodBindingExpression.java | 42 import dagger.model.RequestKind; 151 if (request.isRequestKind(RequestKind.INSTANCE) in returnType() 229 request.isRequestKind(RequestKind.INSTANCE) in createField() 254 return request.isRequestKind(RequestKind.INSTANCE) && binding.isNullable(); in isNullable()
|
D | AssistedFactoryBindingExpression.java | 37 import dagger.model.RequestKind; 71 BindingRequest.bindingRequest(assistedInjectionRequest.key(), RequestKind.INSTANCE), in getDependencyExpression()
|
D | AnonymousProviderCreationExpression.java | 21 import static dagger.model.RequestKind.INSTANCE;
|
D | InnerSwitchingProviders.java | 21 import static dagger.model.RequestKind.INSTANCE;
|
D | OptionalFactories.java | 64 import dagger.model.RequestKind; 191 abstract RequestKind valueKind();
|
D | ComponentImplementation.java | 53 import dagger.model.RequestKind; 364 + (request.isRequestKind(RequestKind.INSTANCE) in uniqueMethodName()
|
/external/dagger2/java/dagger/model/ |
D | DependencyRequest.java | 40 public abstract RequestKind kind(); in kind() 66 public abstract Builder kind(RequestKind kind); in kind()
|
D | RequestKind.java | 34 public enum RequestKind { enum
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | DependencyRequestValidator.java | 39 import dagger.model.RequestKind; 118 RequestKind requestKind = RequestKinds.getRequestKind(requestType); in checkType() 128 if (requestKind != RequestKind.INSTANCE && isAssistedFactoryType(typeElement)) { in checkType()
|
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | DependencyCycleValidator.java | 50 import dagger.model.RequestKind; 215 RequestKind requestKind = getRequestKind(optionalValueType); in breaksCycle() 221 private boolean breaksCycle(TypeMirror requestedType, RequestKind requestKind) { in breaksCycle()
|