Home
last modified time | relevance | path

Searched refs:ComponentNode (Results 1 – 13 of 13) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/binding/
DBindingGraph.java37 import dagger.model.BindingGraph.ComponentNode;
63 ImmutableMap<ComponentPath, ComponentNode> componentNodes = in create()
66 toImmutableMap(ComponentNode::componentPath, componentNode -> componentNode)); in create()
68 ImmutableSetMultimap.Builder<ComponentNode, ComponentNode> subcomponentNodesBuilder = in create()
84 private ImmutableMap<ComponentPath, ComponentNode> componentNodes;
85 private ImmutableSetMultimap<ComponentNode, ComponentNode> subcomponentNodes;
91 public Optional<ComponentNode> componentNode(ComponentPath componentPath) { in componentNode()
98 ImmutableSet<ComponentNode> subcomponentNodes(ComponentNode componentNode) { in subcomponentNodes()
110 ComponentNode componentNode, TopLevelBindingGraph topLevelBindingGraph) { in create()
116 ComponentNode componentNode, in create()
[all …]
DBindingGraphConverter.java38 import dagger.model.BindingGraph.ComponentNode;
72 ComponentNode rootNode = rootComponentNode(network); in convert()
95 private ComponentNode rootComponentNode(Network<Node, Edge> network) { in rootComponentNode()
96 return (ComponentNode) in rootComponentNode()
99 node -> node instanceof ComponentNode && node.componentPath().atRoot()); in rootComponentNode()
160 private void visitComponent(LegacyBindingGraph graph, ComponentNode parentComponent) { in visitComponent()
169 ComponentNode currentComponent = in visitComponent()
223 private void visitEntryPoint(ComponentNode componentNode, DependencyRequest entryPoint) { in visitEntryPoint()
236 ComponentNode parentComponent, in visitSubcomponentFactoryMethod()
237 ComponentNode currentComponent, in visitSubcomponentFactoryMethod()
[all …]
DComponentNodeImpl.java23 import dagger.model.BindingGraph.ComponentNode;
30 public abstract class ComponentNodeImpl implements ComponentNode {
31 public static ComponentNode create( in create()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DSubcomponentFactoryMethodValidator.java38 import dagger.model.BindingGraph.ComponentNode;
55 private final Map<ComponentNode, Set<TypeElement>> inheritedModulesCache = new HashMap<>();
92 ComponentNode child = (ComponentNode) graph.network().incidentNodes(edge).target(); in findMissingModules()
112 ComponentNode parent = (ComponentNode) bindingGraph.network().incidentNodes(edge).source(); 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()
DIncompatiblyScopedBindingsValidator.java34 import dagger.model.BindingGraph.ComponentNode;
65 ImmutableSetMultimap.Builder<ComponentNode, dagger.model.Binding> incompatibleBindings = in visitGraph()
73 ComponentNode componentNode = in visitGraph()
92 ComponentNode componentNode, in report()
DMissingBindingValidator.java29 import dagger.model.BindingGraph.ComponentNode;
116 if (source instanceof ComponentNode) { in dependencyCanBeProduction()
DDependencyCycleValidator.java45 import dagger.model.BindingGraph.ComponentNode;
152 ComponentNode componentContainingCycle = in shortestPathToCycleFromAnEntryPoint()
DDuplicateBindingsValidator.java47 import dagger.model.BindingGraph.ComponentNode;
197 ComponentNode rootComponent) { in reportExplicitBindingConflictsWithInject()
/external/dagger2/java/dagger/model/
DBindingGraph.java152 public ImmutableSet<ComponentNode> componentNodes() { in componentNodes()
153 return nodes(ComponentNode.class); in componentNodes()
157 public Optional<ComponentNode> componentNode(ComponentPath component) { in componentNode()
164 public ImmutableSet<ComponentNode> componentNodes(TypeElement component) { in componentNodes()
171 public ComponentNode rootComponentNode() { in rootComponentNode()
298 ImmutableSet.of(Binding.class, MissingBinding.class, ComponentNode.class);
420 public interface ComponentNode extends Node { interface in BindingGraph
/external/dagger2/java/dagger/spi/
DDiagnosticReporter.java22 import dagger.model.BindingGraph.ComponentNode;
38 void reportComponent(Diagnostic.Kind diagnosticKind, ComponentNode componentNode, String message); in reportComponent()
47 ComponentNode componentNode, in reportComponent()
/external/dagger2/javatests/dagger/functional/spi/
DTestPlugin.java25 import dagger.model.BindingGraph.ComponentNode;
47 for (ComponentNode node : bindingGraph.componentNodes()) { in visitGraph()
/external/dagger2/java/dagger/internal/codegen/validation/
DDiagnosticReporterFactory.java28 import dagger.model.BindingGraph.ComponentNode;
86 Diagnostic.Kind diagnosticKind, ComponentNode componentNode, String messageFormat) { in reportComponent()
97 ComponentNode componentNode, in reportComponent()
DCompositeBindingGraphPlugin.java31 import dagger.model.BindingGraph.ComponentNode;
157 public void reportComponent(Diagnostic.Kind diagnosticKind, ComponentNode componentNode, in reportComponent()
167 ComponentNode componentNode, in reportComponent()