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.yangtools.yang.model.api;
10 import com.google.common.annotations.Beta;
11 import java.util.List;
12 import org.eclipse.jdt.annotation.NonNull;
13 import org.opendaylight.yangtools.concepts.Immutable;
14 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
17 * A base class of an {@link EffectiveModelContext} context reasoning with regards to what logical sequence of
18 * {@link EffectiveStatement}s were considered. Implementations of this class may provide additional facts which were
19 * derived from the line of reasoning.
22 public interface EffectiveStatementInference extends EffectiveModelContextProvider, Immutable {
24 * An {@code Unmodifiable} {@link List} of {@link EffectiveStatement}s, ordered in some meaningful way. Precise
25 * semantics of the statement order is clarified by individual {@link EffectiveStatementInference} specializations.
27 * @see SchemaTreeInference
28 * @return A List of EffectiveStatements
30 @NonNull List<? extends @NonNull EffectiveStatement<?, ?>> statementPath();