Home
last modified time | relevance | path

Searched refs:componentTree (Results 1 – 2 of 2) sorted by relevance

/external/dagger2/java/dagger/hilt/processor/internal/root/
DRootMetadata.java53 ComponentTree componentTree, in create() argument
56 RootMetadata metadata = new RootMetadata(root, componentTree, deps, env); in create()
63 ComponentTree componentTree) { in copyWithNewTree() argument
64 return create(other.root, componentTree, other.deps, other.env); in copyWithNewTree()
70 private final ComponentTree componentTree; field in RootMetadata
79 ComponentTree componentTree, in RootMetadata() argument
85 this.componentTree = componentTree; in RootMetadata()
93 public ComponentTree componentTree() { in componentTree() method in RootMetadata
94 return componentTree; in componentTree()
149 for (ComponentDescriptor componentDescriptor : componentTree.getComponentDescriptors()) { in validate()
[all …]
DRootGenerator.java54 filterDescriptors(metadata.componentTree())), in generate()
81 ComponentTree componentTree = metadata.componentTree(); in generateComponents() local
82 for (ComponentDescriptor componentDescriptor : componentTree.getComponentDescriptors()) { in generateComponents()
87 componentTree.childrenOf(componentDescriptor).stream() in generateComponents()
112 private static ComponentTree filterDescriptors(ComponentTree componentTree) { in filterDescriptors() argument
114 GraphBuilder.from(componentTree.graph()).build(); in filterDescriptors()
116 componentTree.graph().nodes().forEach(graph::addNode); in filterDescriptors()
117 componentTree.graph().edges().forEach(graph::putEdge); in filterDescriptors()
122 componentTree.getComponentDescriptors().stream() in filterDescriptors()
129 return ComponentTree.from(Graphs.reachableNodes(graph, componentTree.root())); in filterDescriptors()
[all …]