Searched refs:FrameworkType (Results 1 – 14 of 14) sorted by relevance
/external/dagger2/javatests/dagger/internal/codegen/ |
D | FrameworkTypeMapperTest.java | 26 import dagger.internal.codegen.binding.FrameworkType; 37 assertThat(mapper.getFrameworkType(INSTANCE)).isEqualTo(FrameworkType.PROVIDER); in forProvider() 38 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProvider() 39 assertThat(mapper.getFrameworkType(PROVIDER)).isEqualTo(FrameworkType.PROVIDER); in forProvider() 44 assertThat(mapper.getFrameworkType(INSTANCE)).isEqualTo(FrameworkType.PRODUCER_NODE); in forProducer() 45 assertThat(mapper.getFrameworkType(LAZY)).isEqualTo(FrameworkType.PROVIDER); in forProducer() 46 assertThat(mapper.getFrameworkType(PROVIDER)).isEqualTo(FrameworkType.PROVIDER); in forProducer() 47 assertThat(mapper.getFrameworkType(PRODUCER)).isEqualTo(FrameworkType.PRODUCER_NODE); in forProducer() 48 assertThat(mapper.getFrameworkType(PRODUCED)).isEqualTo(FrameworkType.PRODUCER_NODE); in forProducer()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | FrameworkTypeMapper.java | 32 public FrameworkType getFrameworkType(RequestKind requestKind) { in FOR_PROVIDER() 38 return FrameworkType.PROVIDER; in FOR_PROVIDER() 49 public FrameworkType getFrameworkType(RequestKind requestKind) { in FOR_PRODUCER() 54 return FrameworkType.PRODUCER_NODE; in FOR_PRODUCER() 58 return FrameworkType.PROVIDER; in FOR_PRODUCER() 69 public abstract FrameworkType getFrameworkType(RequestKind requestKind); in getFrameworkType()
|
D | BindingRequest.java | 55 key, Optional.of(requestKind), FrameworkType.forRequestKind(requestKind)); in bindingRequest() 62 public static BindingRequest bindingRequest(Key key, FrameworkType frameworkType) { in bindingRequest() 74 public abstract Optional<FrameworkType> frameworkType(); in frameworkType()
|
D | FrameworkType.java | 45 public enum FrameworkType { enum 163 public static FrameworkType forBindingType(BindingType bindingType) { in forBindingType() 175 public static Optional<FrameworkType> forRequestKind(RequestKind requestKind) { in forRequestKind() 178 return Optional.of(FrameworkType.PROVIDER); in forRequestKind()
|
D | Binding.java | 77 public final FrameworkType frameworkType() { in frameworkType() 78 return FrameworkType.forBindingType(bindingType()); in frameworkType()
|
D | FrameworkField.java | 76 FrameworkType.forBindingType(binding.bindingType()).frameworkClass())), in forBinding()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ProviderInstanceBindingExpression.java | 20 import dagger.internal.codegen.binding.FrameworkType; 40 protected FrameworkType frameworkType() { in frameworkType() 41 return FrameworkType.PROVIDER; in frameworkType()
|
D | ProducerFromProviderCreationExpression.java | 25 import dagger.internal.codegen.binding.FrameworkType; 49 return FrameworkType.PROVIDER.to( in creationExpression() 53 bindingRequest(binding.key(), FrameworkType.PROVIDER), in creationExpression()
|
D | ProducerNodeInstanceBindingExpression.java | 24 import dagger.internal.codegen.binding.FrameworkType; 50 protected FrameworkType frameworkType() { in frameworkType() 51 return FrameworkType.PRODUCER_NODE; in frameworkType()
|
D | DerivedFromFrameworkInstanceBindingExpression.java | 25 import dagger.internal.codegen.binding.FrameworkType; 36 private final FrameworkType frameworkType; 42 FrameworkType frameworkType, in DerivedFromFrameworkInstanceBindingExpression()
|
D | FrameworkInstanceBindingExpression.java | 26 import dagger.internal.codegen.binding.FrameworkType; 69 protected abstract FrameworkType frameworkType(); in frameworkType()
|
D | OptionalFactories.java | 62 import dagger.internal.codegen.binding.FrameworkType; 185 abstract FrameworkType frameworkType(); 267 FrameworkType.forBindingType(binding.bindingType()), 366 FrameworkType.PROVIDER.to( 382 FrameworkType.PRODUCER_NODE.to(
|
D | ComponentBindingExpressions.java | 48 import dagger.internal.codegen.binding.FrameworkType; 179 FrameworkType frameworkType = in frameworkRequest() 402 request.frameworkType().get().equals(FrameworkType.PRODUCER_NODE), in provisionBindingExpression() 420 key, FrameworkType.PROVIDER, requestKind, this, types); in provisionBindingExpression() 444 request.key(), FrameworkType.PRODUCER_NODE, requestKind, this, types); in productionBindingExpression() 516 binding.key(), FrameworkType.PROVIDER, RequestKind.INSTANCE, this, types); in instanceBindingExpression()
|
/external/dagger2/java/dagger/internal/codegen/componentgenerator/ |
D | ComponentImplementationBuilder.java | 61 import dagger.internal.codegen.binding.FrameworkType; 258 bindingRequest(cancellationKey, FrameworkType.PRODUCER_NODE), in cancellationStatements()
|