YANGTOOLS-706: reorganize statement definitions
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / AbstractListConstraintEffectiveStatement.java
@@ -1,26 +1,28 @@
-/**
+/*
  * Copyright (c) 2017 Pantheon Technologies, s.r.o. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.type;
+package org.opendaylight.yangtools.yang.parser.rfc7950.stmt;
 
+import com.google.common.annotations.Beta;
 import com.google.common.collect.ImmutableList;
 import java.util.List;
 import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement;
 import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
 
-abstract class AbstractListConstraintEffectiveStatement<T, D extends DeclaredStatement<List<T>>>
+@Beta
+public abstract class AbstractListConstraintEffectiveStatement<T, D extends DeclaredStatement<List<T>>>
         extends AbstractConstraintEffectiveStatement<List<T>, D> {
 
-    AbstractListConstraintEffectiveStatement(final StmtContext<List<T>, D, ?> ctx) {
+    protected AbstractListConstraintEffectiveStatement(final StmtContext<List<T>, D, ?> ctx) {
         super(ctx);
     }
 
     @Override
-    final List<T> createConstraints(final List<T> argument) {
+    protected final List<T> createConstraints(final List<T> argument) {
         return ImmutableList.copyOf(argument);
     }
 }