/external/dagger2/java/dagger/internal/codegen/writing/ |
D | DerivedFromFrameworkInstanceBindingExpression.java | 36 private final FrameworkType frameworkType; field in DerivedFromFrameworkInstanceBindingExpression 42 FrameworkType frameworkType, in DerivedFromFrameworkInstanceBindingExpression() argument 46 this.frameworkRequest = bindingRequest(key, frameworkType); in DerivedFromFrameworkInstanceBindingExpression() 48 this.frameworkType = checkNotNull(frameworkType); in DerivedFromFrameworkInstanceBindingExpression() 55 return frameworkType.to( in getDependencyExpression() 67 return frameworkType.to(requestKind, frameworkInstance, types); in getDependencyExpressionForComponentMethod()
|
D | OptionalFactories.java | 95 .thenComparing(PresentFactorySpec::frameworkType) 185 abstract FrameworkType frameworkType(); 210 return frameworkType().frameworkClassOf(optionalType()); 215 return frameworkType().frameworkClassOf(typeVariable()); 220 switch (frameworkType()) { 237 switch (frameworkType()) { 247 switch (frameworkType()) { 253 throw new AssertionError(frameworkType()); 261 .append(frameworkType().frameworkClass().getSimpleName()) 358 switch (spec.frameworkType()) { [all …]
|
D | MultibindingFactoryCreationExpression.java | 49 BindingRequest.bindingRequest(dependency.key(), binding.frameworkType()), in multibindingDependencyExpression() 54 ? CodeBlocks.cast(expression, binding.frameworkType().frameworkClass()) in multibindingDependencyExpression() 60 return BindingRequest.bindingRequest(binding.key(), binding.frameworkType()); in bindingRequest()
|
D | FrameworkInstanceBindingExpression.java | 63 ? types.wrapType(binding.contributedType(), frameworkType().frameworkClass()) in getDependencyExpression() 69 protected abstract FrameworkType frameworkType(); in frameworkType() method in FrameworkInstanceBindingExpression 87 return types.getDeclaredType(elements.getTypeElement(frameworkType().frameworkClass())); in rawFrameworkType()
|
D | DelegatingFrameworkInstanceCreationExpression.java | 52 bindingRequest(dependency.key(), binding.frameworkType()), in creationExpression() 55 binding.frameworkType().frameworkClass()); in creationExpression()
|
D | ProviderInstanceBindingExpression.java | 40 protected FrameworkType frameworkType() { in frameworkType() method in ProviderInstanceBindingExpression
|
D | OptionalFactoryInstanceCreationExpression.java | 57 getOnlyElement(binding.dependencies()).key(), binding.frameworkType()), in creationExpression()
|
D | ProducerNodeInstanceBindingExpression.java | 50 protected FrameworkType frameworkType() { in frameworkType() method in ProducerNodeInstanceBindingExpression
|
D | ComponentBindingExpressions.java | 179 FrameworkType frameworkType = in frameworkRequest() local 182 return BindingRequest.bindingRequest(dependency.key(), frameworkType); in frameworkRequest() 402 request.frameworkType().get().equals(FrameworkType.PRODUCER_NODE), in provisionBindingExpression() 438 if (request.frameworkType().isPresent()) { in productionBindingExpression()
|
D | MethodBindingExpression.java | 74 if (request.frameworkType().isPresent()) { in getDependencyExpression()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | BindingRequest.java | 62 public static BindingRequest bindingRequest(Key key, FrameworkType frameworkType) { in bindingRequest() argument 64 key, frameworkType.requestKind(), Optional.of(frameworkType)); in bindingRequest() 74 public abstract Optional<FrameworkType> frameworkType(); in frameworkType() method in BindingRequest 85 return types.wrapType(contributedType, frameworkType().get().frameworkClass()); in requestedType() 93 : frameworkType().get().frameworkClass().getSimpleName(); in kindName()
|
D | KeyFactory.java | 101 TypeMirror keyType, TypeElement frameworkType, TypeMirror valueType) { in mapOfFrameworkType() argument 102 return mapOf(keyType, types.getDeclaredType(frameworkType, boxPrimitives(valueType))); in mapOfFrameworkType() 157 Optional<TypeElement> frameworkType) { in forBindingMethod() argument 164 if (frameworkType.isPresent() in forBindingMethod() 165 && frameworkType.get().equals(elements.getTypeElement(Producer.class)) in forBindingMethod() 179 TypeMirror keyType = bindingMethodKeyType(returnType, method, contributionType, frameworkType); in forBindingMethod() 212 Optional<TypeElement> frameworkType) { in bindingMethodKeyType() argument 220 return frameworkType.isPresent() in bindingMethodKeyType() 221 ? mapOfFrameworkType(mapKeyType, frameworkType.get(), returnType) in bindingMethodKeyType() 238 Key forDelegateBinding(DelegateDeclaration delegateDeclaration, Class<?> frameworkType) { in forDelegateBinding() argument [all …]
|
D | Binding.java | 77 public final FrameworkType frameworkType() { in frameworkType() method in Binding
|
D | BindingFactory.java | 477 Class<?> frameworkType) { in buildDelegateBinding() argument 486 .key(keyFactory.forDelegateBinding(delegateDeclaration, frameworkType)) in buildDelegateBinding()
|
/external/dagger2/javatests/dagger/internal/codegen/ |
D | FrameworkFieldTest.java | 49 @Test public void frameworkType() { in frameworkType() method in FrameworkFieldTest
|