2 * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.mdsal.binding.generator.impl.reactor;
10 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
13 * A simple {@link Generator} which (potentially) has dependencies on other generators.
15 abstract class AbstractDependentGenerator<T extends EffectiveStatement<?, ?>> extends AbstractExplicitGenerator<T> {
16 AbstractDependentGenerator(final T statement, final AbstractCompositeGenerator<?> parent) {
17 super(statement, parent);
21 * Discover and link this generator's dependencies.
23 * @param context GeneratorContext of this generator
25 abstract void linkDependencies(GeneratorContext context);