Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DComponentGenerator.java40 final class ComponentGenerator extends SourceFileGenerator<BindingGraph> {
60 ClassName nameGeneratedType(BindingGraph input) { in nameGeneratedType()
68 Iterable<? extends Element> getOriginatingElements(BindingGraph input) { in getOriginatingElements()
73 Optional<? extends Element> getElementForErrorReporting(BindingGraph input) { in getElementForErrorReporting()
122 ImmutableSet<JavaWriter> write(ClassName componentName, BindingGraph input) { in write()
DMissingBindingSuggestions.java33 static ImmutableList<String> forKey(BindingGraph topLevelGraph, BindingKey key) { in forKey()
35 Deque<BindingGraph> graphsToTry = new ArrayDeque<>(); in forKey()
39 BindingGraph graph = graphsToTry.removeLast(); in forKey()
DAbstractComponentProcessingStep.java38 private final BindingGraph.Factory bindingGraphFactory;
47 BindingGraph.Factory bindingGraphFactory, in AbstractComponentProcessingStep()
74 BindingGraph bindingGraph = bindingGraphFactory.create(componentDescriptor); in process()
90 private void generateComponent(BindingGraph bindingGraph) { in generateComponent()
DBindingGraph.java80 abstract class BindingGraph { class
83 abstract ImmutableMap<ExecutableElement, BindingGraph> subgraphs(); in subgraphs()
101 private static final TreeTraverser<BindingGraph> SUBGRAPH_TRAVERSER =
102 new TreeTraverser<BindingGraph>() {
104 public Iterable<BindingGraph> children(BindingGraph node) {
118 new Function<BindingGraph, Iterable<ResolvedBindings>>() { in componentRequirements()
120 public Iterable<ResolvedBindings> apply(BindingGraph input) { in componentRequirements()
175 BindingGraph create(ComponentDescriptor componentDescriptor) {
179 private BindingGraph create(
239 ImmutableMap.Builder<ExecutableElement, BindingGraph> subgraphsBuilder =
DBindingGraphValidator.java139 final BindingGraph topLevelGraph;
140 final BindingGraph subject;
143 Validation(BindingGraph topLevelGraph, BindingGraph subject) { in Validation()
150 Validation(BindingGraph topLevelGraph) { in Validation()
184 for (BindingGraph subgraph : subject.subgraphs().values()) { in validateSubgraph()
194 BindingGraph subgraph = subject.subgraphs().get(factoryMethod); in validateSubcomponentFactoryMethod()
243 BindingGraph graph, in traverseRequest()
1019 ValidationReport<TypeElement> validate(BindingGraph subject) {
1143 static ResolvedRequest create(DependencyRequest request, BindingGraph graph) {
DSubcomponentWriter.java58 BindingGraph subgraph) { in SubcomponentWriter()
70 private static String subcomponentSimpleName(BindingGraph subgraph) { in subcomponentSimpleName()
DComponentProcessor.java157 BindingGraph.Factory bindingGraphFactory = in initSteps()
158 new BindingGraph.Factory( in initSteps()
DProductionComponentProcessingStep.java49 BindingGraph.Factory bindingGraphFactory, in ProductionComponentProcessingStep()
DComponentWriter.java46 BindingGraph graph) { in ComponentWriter()
DComponentProcessingStep.java56 BindingGraph.Factory bindingGraphFactory, in ComponentProcessingStep()
DAbstractComponentWriter.java130 protected final BindingGraph graph;
161 BindingGraph graph) { in AbstractComponentWriter()
669 for (Map.Entry<ExecutableElement, BindingGraph> subgraphEntry : graph.subgraphs().entrySet()) { in addSubcomponents()