2 * Copyright (c) 2022 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.mdsal.binding.generator.impl.tree.SchemaTreeChild;
11 import org.opendaylight.yangtools.yang.model.api.stmt.SchemaTreeEffectiveStatement;
14 * Abstract base class for {@link AbstractCompositeGenerator}s which are also {@link SchemaTreeChild}ren.
16 abstract class CompositeSchemaTreeGenerator<S extends SchemaTreeEffectiveStatement<?>,
17 G extends CompositeSchemaTreeGenerator<S, G>>
18 extends AbstractCompositeGenerator<S> implements SchemaTreeChild<S, G> {
19 CompositeSchemaTreeGenerator(final S statement, final AbstractCompositeGenerator<?> parent) {
20 super(statement, parent);
24 @SuppressWarnings("unchecked")
25 public final G generator() {