Home
last modified time | relevance | path

Searched refs:BindingGraph (Results 1 – 25 of 58) sorted by relevance

123

/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DProvisionDependencyOnProducerBindingValidator.java25 import dagger.model.BindingGraph;
26 import dagger.model.BindingGraph.DependencyEdge;
27 import dagger.model.BindingGraph.Node;
49 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
62 BindingGraph bindingGraph) { in provisionDependenciesOnProductionBindings()
72 dagger.model.Binding binding, BindingGraph bindingGraph) { in incomingDependencies()
78 private boolean dependencyCanUseProduction(DependencyEdge edge, BindingGraph bindingGraph) { in dependencyCanUseProduction()
92 DependencyEdge dependency, BindingGraph bindingGraph) { in bindingRequestingDependency()
110 DependencyEdge dependencyOnProduction, BindingGraph bindingGraph) { in dependencyErrorMessage()
DMissingBindingValidator.java28 import dagger.model.BindingGraph;
29 import dagger.model.BindingGraph.ComponentNode;
30 import dagger.model.BindingGraph.DependencyEdge;
31 import dagger.model.BindingGraph.MissingBinding;
32 import dagger.model.BindingGraph.Node;
58 public void visitGraph(BindingGraph graph, DiagnosticReporter diagnosticReporter) { in visitGraph()
70 MissingBinding missingBinding, BindingGraph graph, DiagnosticReporter diagnosticReporter) { in reportMissingBinding()
75 private String missingBindingErrorMessage(MissingBinding missingBinding, BindingGraph graph) { in missingBindingErrorMessage()
106 MissingBinding missingBinding, BindingGraph graph) { in allIncomingDependenciesCanUseProduction()
114 private boolean dependencyCanBeProduction(DependencyEdge edge, BindingGraph graph) { in dependencyCanBeProduction()
DSubcomponentFactoryMethodValidator.java36 import dagger.model.BindingGraph;
37 import dagger.model.BindingGraph.ChildFactoryMethodEdge;
38 import dagger.model.BindingGraph.ComponentNode;
69 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
89 ChildFactoryMethodEdge edge, BindingGraph graph) { in findMissingModules()
111 ChildFactoryMethodEdge edge, BindingGraph bindingGraph) { in subgraphFactoryMethodParameters()
119 private SetView<TypeElement> ownedModules(ComponentNode component, BindingGraph graph) { in ownedModules()
125 private Set<TypeElement> inheritedModules(ComponentNode component, BindingGraph graph) { in inheritedModules()
130 private Function<ComponentNode, Set<TypeElement>> uncachedInheritedModules(BindingGraph graph) { in uncachedInheritedModules()
143 BindingGraph graph, in reportMissingModuleParameters()
DDependencyCycleValidator.java44 import dagger.model.BindingGraph;
45 import dagger.model.BindingGraph.ComponentNode;
46 import dagger.model.BindingGraph.DependencyEdge;
47 import dagger.model.BindingGraph.Node;
77 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
131 Cycle<Node> cycle, BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in reportCycle()
150 Cycle<Node> cycle, BindingGraph bindingGraph) { in shortestPathToCycleFromAnEntryPoint()
175 private String errorMessage(Cycle<Node> cycle, BindingGraph graph) { in errorMessage()
192 private DependencyEdge nonCycleBreakingEdge(EndpointPair<Node> endpointPair, BindingGraph graph) { in nonCycleBreakingEdge()
200 private boolean breaksCycle(DependencyEdge edge, BindingGraph graph) { in breaksCycle()
[all …]
DNullableBindingValidator.java27 import dagger.model.BindingGraph;
28 import dagger.model.BindingGraph.DependencyEdge;
47 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
65 private ImmutableList<dagger.model.Binding> nullableBindings(BindingGraph bindingGraph) { in nullableBindings()
72 BindingGraph bindingGraph, dagger.model.Binding binding) { in nonNullableDependencies()
DDuplicateBindingsValidator.java46 import dagger.model.BindingGraph;
47 import dagger.model.BindingGraph.ComponentNode;
85 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
109 BindingGraph bindingGraph) { in duplicateBindingSets()
117 private static ImmutableSet<ImmutableSet<Binding>> groupBindingsByKey(BindingGraph bindingGraph) { in groupBindingsByKey()
150 BindingGraph bindingGraph, in reportDuplicateBindings()
228 Binding oneBinding, ImmutableSet<Binding> duplicateBindings, BindingGraph graph) { in duplicateBindingMessage()
239 Binding oneBinding, ImmutableSet<Binding> duplicateBindings, BindingGraph graph) { in incompatibleBindingsMessage()
279 BindingGraph graph, Set<dagger.model.Binding> bindings) { in declarations()
288 BindingGraph graph, dagger.model.Binding binding) { in declarations()
DDependsOnProductionExecutorValidator.java24 import dagger.model.BindingGraph;
25 import dagger.model.BindingGraph.MaybeBinding;
51 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
/external/dagger2/java/dagger/model/
DBindingGraphProxies.java24 import dagger.model.BindingGraph.Edge;
25 import dagger.model.BindingGraph.MissingBinding;
26 import dagger.model.BindingGraph.Node;
36 abstract static class BindingGraphImpl extends BindingGraph {
55 public static BindingGraph bindingGraph(Network<Node, Edge> network, boolean isFullBindingGraph) { in bindingGraph()
/external/dagger2/java/dagger/internal/codegen/binding/
DBindingGraph.java36 import dagger.model.BindingGraph.ChildFactoryMethodEdge;
37 import dagger.model.BindingGraph.ComponentNode;
38 import dagger.model.BindingGraph.Edge;
39 import dagger.model.BindingGraph.Node;
54 public abstract class BindingGraph { class
57 abstract static class TopLevelBindingGraph extends dagger.model.BindingGraph {
109 static BindingGraph create( in create()
114 private static BindingGraph create( in create()
115 Optional<BindingGraph> parent, in create()
155 BindingGraph bindingGraph = new AutoValue_BindingGraph(componentNode, topLevelBindingGraph); in create()
[all …]
DBindingGraphConverter.java36 import dagger.internal.codegen.binding.BindingGraph.TopLevelBindingGraph;
38 import dagger.model.BindingGraph.ComponentNode;
39 import dagger.model.BindingGraph.DependencyEdge;
40 import dagger.model.BindingGraph.Edge;
41 import dagger.model.BindingGraph.MissingBinding;
42 import dagger.model.BindingGraph.Node;
70 BindingGraph convert(LegacyBindingGraph legacyBindingGraph, boolean isFullBindingGraph) { in convert()
85 return BindingGraph.create(rootNode, topLevelBindingGraph); in convert()
/external/dagger2/java/dagger/spi/
DDiagnosticReporter.java20 import dagger.model.BindingGraph;
21 import dagger.model.BindingGraph.ChildFactoryMethodEdge;
22 import dagger.model.BindingGraph.ComponentNode;
23 import dagger.model.BindingGraph.DependencyEdge;
24 import dagger.model.BindingGraph.MaybeBinding;
/external/dagger2/javatests/dagger/internal/codegen/
DBindingGraphCapturer.java20 import dagger.model.BindingGraph;
31 private final ImmutableMap.Builder<String, BindingGraph> bindingGraphs = ImmutableMap.builder();
34 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
46 public ImmutableMap<String, BindingGraph> bindingGraphs() { in bindingGraphs()
/external/dagger2/java/dagger/internal/codegen/kythe/
DDaggerKythePlugin.java45 import dagger.model.BindingGraph;
46 import dagger.model.BindingGraph.DependencyEdge;
47 import dagger.model.BindingGraph.Edge;
48 import dagger.model.BindingGraph.Node;
80 private void addNodesForGraph(dagger.internal.codegen.binding.BindingGraph graph) { in addNodesForGraph()
88 private void addDependencyEdges(BindingGraph graph) { in addDependencyEdges()
106 DependencyRequest dependency, BindingNode bindingNode, BindingGraph graph) { in addEdgesForDependencyRequest()
139 private void addModuleEdges(dagger.internal.codegen.binding.BindingGraph graph) { in addModuleEdges()
148 private void addChildComponentEdges(dagger.internal.codegen.binding.BindingGraph graph) { in addChildComponentEdges()
150 for (dagger.internal.codegen.binding.BindingGraph subgraph : graph.subgraphs()) { in addChildComponentEdges()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentGenerator.java26 import dagger.internal.codegen.binding.BindingGraph;
37 final class ComponentGenerator extends SourceFileGenerator<BindingGraph> {
51 public ClassName nameGeneratedType(BindingGraph input) { in nameGeneratedType()
61 public Element originatingElement(BindingGraph input) { in originatingElement()
66 public Optional<TypeSpec.Builder> write(BindingGraph bindingGraph) { in write()
DComponentImplementationFactory.java23 import dagger.internal.codegen.binding.BindingGraph;
56 ComponentImplementation createComponentImplementation(BindingGraph bindingGraph) { in createComponentImplementation()
63 private ComponentImplementation createComponentImplementationUncached(BindingGraph bindingGraph) { in createComponentImplementationUncached()
/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java32 import dagger.model.BindingGraph;
33 import dagger.model.BindingGraph.ChildFactoryMethodEdge;
34 import dagger.model.BindingGraph.DependencyEdge;
35 import dagger.model.BindingGraph.Edge;
36 import dagger.model.BindingGraph.MaybeBinding;
37 import dagger.model.BindingGraph.MissingBinding;
38 import dagger.model.BindingGraph.Node;
39 import dagger.model.BindingGraph.SubcomponentCreatorBindingEdge;
96 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
217 private final BindingGraph bindingGraph;
[all …]
/external/dagger2/java/dagger/internal/codegen/validation/
DBindingGraphValidator.java26 import dagger.model.BindingGraph;
63 public boolean isValid(BindingGraph graph) { in isValid()
68 private boolean validate(BindingGraph graph) { in validate()
81 private boolean visitPlugins(BindingGraph graph) { in visitPlugins()
95 ImmutableSet<BindingGraphPlugin> plugins, BindingGraph graph, boolean errorsAsWarnings) { in runPlugins()
DDiagnosticReporterFactory.java26 import dagger.model.BindingGraph;
27 import dagger.model.BindingGraph.ChildFactoryMethodEdge;
28 import dagger.model.BindingGraph.ComponentNode;
29 import dagger.model.BindingGraph.DependencyEdge;
30 import dagger.model.BindingGraph.MaybeBinding;
56 BindingGraph graph, BindingGraphPlugin plugin, boolean reportErrorsAsWarnings) { in reporter()
72 DiagnosticReporterImpl(BindingGraph graph, String plugin, boolean reportErrorsAsWarnings) { in DiagnosticReporterImpl()
DCompositeBindingGraphPlugin.java29 import dagger.model.BindingGraph;
30 import dagger.model.BindingGraph.ChildFactoryMethodEdge;
31 import dagger.model.BindingGraph.ComponentNode;
32 import dagger.model.BindingGraph.DependencyEdge;
33 import dagger.model.BindingGraph.MaybeBinding;
79 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
125 private final BindingGraph graph;
133 BindingGraph graph, in AggregatingDiagnosticReporter()
DDiagnosticMessageGenerator.java51 import dagger.model.BindingGraph;
52 import dagger.model.BindingGraph.DependencyEdge;
53 import dagger.model.BindingGraph.Edge;
54 import dagger.model.BindingGraph.MaybeBinding;
55 import dagger.model.BindingGraph.Node;
84 public DiagnosticMessageGenerator create(BindingGraph graph) { in create()
90 private final BindingGraph graph;
122 BindingGraph graph, in DiagnosticMessageGenerator()
/external/dagger2/java/dagger/model/testing/
DBindingGraphSubject.java27 import dagger.model.BindingGraph;
35 public static BindingGraphSubject assertThat(BindingGraph bindingGraph) { in assertThat()
39 private final BindingGraph actual;
41 private BindingGraphSubject(FailureMetadata metadata, @NullableDecl BindingGraph actual) { in BindingGraphSubject()
146 private BindingGraph actualBindingGraph() { in actualBindingGraph()
/external/dagger2/javatests/dagger/functional/spi/
DTestPlugin.java24 import dagger.model.BindingGraph;
25 import dagger.model.BindingGraph.ComponentNode;
44 public void visitGraph(BindingGraph bindingGraph, DiagnosticReporter diagnosticReporter) { in visitGraph()
55 private void write(BindingGraph bindingGraph, Properties properties) { in write()
/external/dagger2/java/dagger/internal/codegen/
DComponentProcessingStep.java32 import dagger.internal.codegen.binding.BindingGraph;
60 private final SourceFileGenerator<BindingGraph> componentGenerator;
71 SourceFileGenerator<BindingGraph> componentGenerator, in ComponentProcessingStep()
115 BindingGraph bindingGraph = bindingGraphFactory.create(componentDescriptor, false); in processRootComponent()
131 private void generateComponent(BindingGraph bindingGraph) { in generateComponent()
151 BindingGraph fullBindingGraph = bindingGraphFactory.create(componentDescriptor, true); in validateFullBindingGraph()
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelValidationPlugin.kt27 import dagger.model.BindingGraph in <lambda>()
28 import dagger.model.BindingGraph.Edge in <lambda>()
29 import dagger.model.BindingGraph.Node in <lambda>()
41 override fun visitGraph(bindingGraph: BindingGraph, diagnosticReporter: DiagnosticReporter) { in <lambda>()
/external/dagger2/java/dagger/internal/codegen/writing/
DComponentProvisionBindingExpression.java24 import dagger.internal.codegen.binding.BindingGraph;
33 private final BindingGraph bindingGraph;
39 BindingGraph bindingGraph, in ComponentProvisionBindingExpression()

123