/external/dagger2/java/dagger/internal/codegen/componentgenerator/ |
D | ComponentCreatorImplementationFactory.java | 50 import dagger.internal.codegen.binding.ComponentRequirement; 51 import dagger.internal.codegen.binding.ComponentRequirement.NullPolicy; 112 private ImmutableMap<ComponentRequirement, FieldSpec> fields; 140 final ImmutableSet<ComponentRequirement> componentConstructorRequirements() { in componentConstructorRequirements() 145 abstract ImmutableSet<ComponentRequirement> setterMethods(); in setterMethods() 151 abstract ImmutableMap<ComponentRequirement, String> factoryMethodParameters(); in factoryMethodParameters() 158 abstract ImmutableMap<ComponentRequirement, RequirementStatus> userSettableRequirements(); in userSettableRequirements() 164 private Set<ComponentRequirement> neededUserSettableRequirements() { in neededUserSettableRequirements() 186 private ImmutableMap<ComponentRequirement, FieldSpec> addFields() { in addFields() 189 ImmutableMap<ComponentRequirement, FieldSpec> result = in addFields() [all …]
|
D | ComponentImplementationBuilder.java | 60 import dagger.internal.codegen.binding.ComponentRequirement; 332 ImmutableMap<ComponentRequirement, ParameterSpec> initializationParameters) { in implementInitializationMethod() argument 407 private final ImmutableMap<ComponentRequirement, ParameterSpec> initializationParameters() { in initializationParameters() 408 Map<ComponentRequirement, ParameterSpec> parameters; in initializationParameters() 410 parameters = Maps.toMap(graph.componentRequirements(), ComponentRequirement::toParameterSpec); in initializationParameters() 430 private ImmutableMap<ComponentRequirement, ParameterSpec> renameParameters( in renameParameters() argument 431 Map<ComponentRequirement, ParameterSpec> parameters) { in renameParameters() 520 private static Map<ComponentRequirement, ParameterSpec> getFactoryMethodParameters( in getFactoryMethodParameters()
|
D | ComponentHjarGenerator.java | 46 import dagger.internal.codegen.binding.ComponentRequirement; 193 private static Stream<ComponentRequirement> componentRequirements(ComponentDescriptor component) { in componentRequirements() 207 .map(module -> ComponentRequirement.forModule(module.moduleElement().asType()))); in componentRequirements()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | ComponentCreatorDescriptor.java | 75 abstract ImmutableSetMultimap<ComponentRequirement, ExecutableElement> unvalidatedSetterMethods(); in unvalidatedSetterMethods() 83 abstract ImmutableSetMultimap<ComponentRequirement, VariableElement> 93 public final ImmutableSetMultimap<ComponentRequirement, Element> 109 ImmutableMap<ComponentRequirement, Element> requirementElements() { in requirementElements() 115 public ImmutableMap<ComponentRequirement, ExecutableElement> setterMethods() { in setterMethods() 121 public ImmutableMap<ComponentRequirement, VariableElement> factoryParameters() { in factoryParameters() 131 public final ImmutableSet<ComponentRequirement> userSettableRequirements() { in userSettableRequirements() 137 public final ImmutableSet<ComponentRequirement> moduleAndDependencyRequirements() { in moduleAndDependencyRequirements() 144 final ImmutableSet<ComponentRequirement> boundInstanceRequirements() { in boundInstanceRequirements() 146 .filter(ComponentRequirement::isBoundInstance) in boundInstanceRequirements() [all …]
|
D | ComponentDescriptor.java | 102 public abstract ImmutableSet<ComponentRequirement> dependencies(); in dependencies() 105 public final ImmutableSet<ComponentRequirement> dependenciesAndConcreteModules() { in dependenciesAndConcreteModules() 109 .map(module -> ComponentRequirement.forModule(module.asType())), in dependenciesAndConcreteModules() 137 ImmutableSet<ComponentRequirement> requirements() { in requirements() 138 ImmutableSet.Builder<ComponentRequirement> requirements = ImmutableSet.builder(); in requirements() 143 .map(module -> ComponentRequirement.forModule(module.moduleElement().asType())) in requirements() 159 public abstract ImmutableMap<ExecutableElement, ComponentRequirement> 163 public final ComponentRequirement getDependencyThatDefinesMethod(Element method) { in getDependencyThatDefinesMethod()
|
D | ComponentRequirement.java | 54 public abstract class ComponentRequirement { class 209 public static ComponentRequirement forDependency(TypeMirror type) { in forDependency() 218 public static ComponentRequirement forModule(TypeMirror type) { in forModule() 227 static ComponentRequirement forBoundInstance(Key key, boolean nullable, String variableName) { in forBoundInstance() 236 public static ComponentRequirement forBoundInstance(ContributionBinding binding) { in forBoundInstance()
|
D | ComponentDescriptorFactory.java | 119 ImmutableSet<ComponentRequirement> componentDependencies = in create() 121 .map(ComponentRequirement::forDependency) in create() 124 ImmutableMap.Builder<ExecutableElement, ComponentRequirement> dependenciesByDependencyMethod = in create() 127 for (ComponentRequirement componentDependency : componentDependencies) { in create()
|
D | BindingGraph.java | 265 public final ImmutableMap<ComponentRequirement, VariableElement> factoryMethodParameters() { in factoryMethodParameters() 269 parameter -> ComponentRequirement.forModule(parameter.asType()), in factoryMethodParameters() 283 public ImmutableSet<ComponentRequirement> componentRequirements() { in componentRequirements() 289 ImmutableSet.Builder<ComponentRequirement> requirements = ImmutableSet.builder(); in componentRequirements()
|
D | BindingFactory.java | 335 public ProvisionBinding componentDependencyBinding(ComponentRequirement dependency) { in componentDependencyBinding() 383 ProvisionBinding boundInstanceBinding(ComponentRequirement requirement, Element element) { in boundInstanceBinding()
|
D | BindingGraphFactory.java | 137 for (ComponentRequirement dependency : componentDescriptor.dependencies()) { in createLegacyBindingGraph()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ComponentRequirementExpressions.java | 32 import dagger.internal.codegen.binding.ComponentRequirement; 52 private final Map<ComponentRequirement, ComponentRequirementExpression> 77 CodeBlock getExpression(ComponentRequirement componentRequirement, ClassName requestingClass) { in getExpression() 89 ComponentRequirement componentRequirement, ClassName requestingClass) { in getExpressionDuringInitialization() 93 ComponentRequirementExpression getExpression(ComponentRequirement componentRequirement) { in getExpression() 107 private ComponentRequirementExpression createField(ComponentRequirement requirement) { in createField() 125 final ComponentRequirement componentRequirement; 131 ComponentRequirement componentRequirement, in AbstractField() 176 ComponentRequirement module, ComponentImplementation componentImplementation) { in InstantiableModuleField() 199 ComponentRequirement componentRequirement, in ComponentParameterField()
|
D | ComponentCreatorImplementation.java | 24 import dagger.internal.codegen.binding.ComponentRequirement; 32 TypeSpec spec, ClassName name, ImmutableMap<ComponentRequirement, FieldSpec> fields) { in create() argument 43 abstract ImmutableMap<ComponentRequirement, FieldSpec> fields(); in fields()
|
D | ComponentRequirementBindingExpression.java | 20 import dagger.internal.codegen.binding.ComponentRequirement; 30 private final ComponentRequirement componentRequirement; 35 ComponentRequirement componentRequirement, in ComponentRequirementBindingExpression()
|
D | ComponentProvisionBindingExpression.java | 25 import dagger.internal.codegen.binding.ComponentRequirement; 61 private ComponentRequirement componentRequirement() { in componentRequirement()
|
D | DependencyMethodProducerCreationExpression.java | 33 import dagger.internal.codegen.binding.ComponentRequirement; 63 ComponentRequirement dependency = in creationExpression()
|
D | ComponentBindingExpressions.java | 46 import dagger.internal.codegen.binding.ComponentRequirement; 163 ComponentRequirement.forModule(binding.contributingModule().get().asType()), in getCreateMethodArgumentsCodeBlocks() 334 binding, ComponentRequirement.forBoundInstance(binding)); in frameworkInstanceCreationExpression() 338 binding, ComponentRequirement.forDependency(binding.key().type())); in frameworkInstanceCreationExpression() 389 ContributionBinding binding, ComponentRequirement componentRequirement) { in instanceFactoryCreationExpression() 538 ComponentRequirement.forDependency(binding.key().type()), in unscopedDirectInstanceExpression() 570 ComponentRequirement.forBoundInstance(binding), in unscopedDirectInstanceExpression()
|
D | DependencyMethodProviderCreationExpression.java | 36 import dagger.internal.codegen.binding.ComponentRequirement; 123 private ComponentRequirement dependency() { in dependency()
|
D | ComponentRequirementExpression.java | 21 import dagger.internal.codegen.binding.ComponentRequirement;
|
D | SimpleMethodBindingExpression.java | 32 import dagger.internal.codegen.binding.ComponentRequirement; 178 .map(ComponentRequirement::forModule) in moduleReference()
|
D | ComponentImplementation.java | 48 import dagger.internal.codegen.binding.ComponentRequirement; 149 private final Map<ComponentRequirement, String> componentRequirementParameterNames = 374 public String getParameterName(ComponentRequirement requirement, String baseName) { in getParameterName()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | ComponentDescriptorValidator.java | 45 import dagger.internal.codegen.binding.ComponentRequirement; 46 import dagger.internal.codegen.binding.ComponentRequirement.NullPolicy; 212 .map(ComponentRequirement::typeElement) in validateDependencyScopes() 291 Set<ComponentRequirement> creatorModuleAndDependencyRequirements = in validateCreators() 294 Set<ComponentRequirement> componentModuleAndDependencyRequirements = in validateCreators() 299 Set<ComponentRequirement> inapplicableRequirementsOnCreator = in validateCreators() 318 Set<ComponentRequirement> mustBePassed = in validateCreators() 323 Set<ComponentRequirement> missingRequirements = in validateCreators() 331 missingRequirements.stream().map(ComponentRequirement::type).collect(toList())), in validateCreators()
|
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | SubcomponentFactoryMethodValidator.java | 23 import static dagger.internal.codegen.binding.ComponentRequirement.componentCanMakeNewInstances;
|