Home
last modified time | relevance | path

Searched refs:frameworkClass (Results 1 – 12 of 12) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/binding/
DFrameworkType.java49 public Class<?> frameworkClass() { in frameworkClass() method
108 types.rewrapType(from.type(), RequestKinds.frameworkClass(requestKind)), codeBlock); in to()
116 public Class<?> frameworkClass() { in frameworkClass() method
185 public abstract Class<?> frameworkClass(); in frameworkClass() method in FrameworkType
189 return ParameterizedTypeName.get(ClassName.get(frameworkClass()), valueType); in frameworkClassOf()
DFrameworkField.java72 ContributionBinding binding, Optional<ClassName> frameworkClass) { in forBinding() argument
74 frameworkClass.orElse( in forBinding()
76 FrameworkType.forBindingType(binding.bindingType()).frameworkClass())), in forBinding()
DBindingRequest.java85 return types.wrapType(contributedType, frameworkType().get().frameworkClass()); in requestedType()
93 : frameworkType().get().frameworkClass().getSimpleName(); in kindName()
DDependencyRequestFactory.java25 import static dagger.internal.codegen.base.RequestKinds.frameworkClass;
117 if (mapType.valuesAreTypeOf(frameworkClass(kind))) { in multibindingContributionRequestKind()
DKeyFactory.java328 for (Class<?> frameworkClass : asList(Provider.class, Producer.class, Produced.class)) { in unwrapMapValueType()
329 if (mapType.valuesAreTypeOf(frameworkClass)) { in unwrapMapValueType()
331 .type(mapOf(mapType.keyType(), mapType.unwrappedValueType(frameworkClass))) in unwrapMapValueType()
DSourceFiles.java101 frameworkTypeMapper.getFrameworkType(dependency.kind()).frameworkClass()), in generateBindingFieldsForDependencies()
/external/dagger2/java/dagger/internal/codegen/writing/
DMapFactoryCreationExpression.java64 for (Class<?> frameworkClass : in creationExpression()
66 if (mapType.valuesAreTypeOf(frameworkClass)) { in creationExpression()
67 valueType = mapType.unwrappedValueType(frameworkClass); in creationExpression()
DFrameworkInstanceBindingExpression.java63 ? types.wrapType(binding.contributedType(), frameworkType().frameworkClass()) in getDependencyExpression()
87 return types.getDeclaredType(elements.getTypeElement(frameworkType().frameworkClass())); in rawFrameworkType()
DDelegatingFrameworkInstanceCreationExpression.java55 binding.frameworkType().frameworkClass()); in creationExpression()
DMultibindingFactoryCreationExpression.java54 ? CodeBlocks.cast(expression, binding.frameworkType().frameworkClass()) in multibindingDependencyExpression()
DOptionalFactories.java261 .append(frameworkType().frameworkClass().getSimpleName())
/external/dagger2/java/dagger/internal/codegen/base/
DRequestKinds.java64 return types.wrapType(type, frameworkClass(requestKind)); in requestType()
115 if (isTypeOf(frameworkClass(kind), type)) { in getRequestKind()
162 public static Class<?> frameworkClass(RequestKind requestKind) { in frameworkClass() method in RequestKinds