YANGTOOLS-706: reorganize statement definitions
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / type / TypeStatementRFC7950Support.java
@@ -5,24 +5,22 @@
  * 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.rfc7950;
+package org.opendaylight.yangtools.yang.parser.rfc7950.stmt.type;
 
 import com.google.common.annotations.Beta;
 import com.google.common.collect.ImmutableMap;
 import java.util.Map;
 import org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport;
-import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeStatementImpl;
 import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeUtils;
 
 /**
  * Class providing necessary support for processing YANG 1.1 Type statement.
  */
 @Beta
-public final class TypeStatementRfc7950Support extends TypeStatementImpl.Definition {
-    private static final Map<String, StatementSupport<?, ?, ?>> ARGUMENT_SPECIFIC_SUPPORTS =
-            ImmutableMap.<String, StatementSupport<?, ?, ?>>of(
-                TypeUtils.LEAF_REF, new LeafrefSpecificationRfc7950Support(),
-                TypeUtils.IDENTITY_REF, new IdentityrefSpecificationRfc7950Support());
+public final class TypeStatementRFC7950Support extends AbstractTypeStatementSupport {
+    private static final Map<String, StatementSupport<?, ?, ?>> ARGUMENT_SPECIFIC_SUPPORTS = ImmutableMap.of(
+        TypeUtils.LEAF_REF, new LeafrefSpecificationRFC7950Support(),
+        TypeUtils.IDENTITY_REF, new IdentityrefSpecificationRFC7950Support());
 
     @Override
     public boolean hasArgumentSpecificSupports() {