import java.util.List;
import java.util.Set;
import org.opendaylight.yangtools.yang.model.api.Module;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
import org.opendaylight.yangtools.yang.model.api.stmt.ModuleStatement;
return new EffectiveSchemaContext(modules, rootDeclaredStatements, rootEffectiveStatements);
}
- /**
- * Resolve SchemaContext for a set of modules.
- *
- * @deprecated Use {@link SimpleSchemaContext#forModules(Set)} instead.
- */
- @Deprecated
- public static SchemaContext resolveSchemaContext(final Set<Module> modules) {
- return SimpleSchemaContext.forModules(modules);
- }
-
@VisibleForTesting
public List<DeclaredStatement<?>> getRootDeclaredStatements() {
return rootDeclaredStatements;