YANGTOOLS-706: reorganize statement definitions
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / rpc / RpcStatementRFC7950Support.java
@@ -5,11 +5,12 @@
  * 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.rpc;
 
 import com.google.common.annotations.Beta;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.input.InputStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.output.OutputStatementRFC7950Support;
 import org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport;
-import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.RpcStatementImpl;
 
 /**
  * Bridge class for RFC7950 RPCs. Specializes implicit input/output statements.
@@ -17,18 +18,18 @@ import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.RpcStatementImpl;
  * @author Robert Varga
  */
 @Beta
-public final class RpcStatementRfc7950Support extends RpcStatementImpl.Definition {
+public final class RpcStatementRFC7950Support extends AbstractRpcStatementSupport {
     // TODO: share instances
-    private static final StatementSupport<?, ?, ?> IMPLICIT_INPUT = new InputStatementRfc7950Support();
-    private static final StatementSupport<?, ?, ?> IMPLICIT_OUTPUT = new OutputStatementRfc7950Support();
+    private static final StatementSupport<?, ?, ?> IMPLICIT_INPUT = new InputStatementRFC7950Support();
+    private static final StatementSupport<?, ?, ?> IMPLICIT_OUTPUT = new OutputStatementRFC7950Support();
 
     @Override
-    protected StatementSupport<?, ?, ?> implictInput() {
+    StatementSupport<?, ?, ?> implictInput() {
         return IMPLICIT_INPUT;
     }
 
     @Override
-    protected StatementSupport<?, ?, ?> implictOutput() {
+    StatementSupport<?, ?, ?> implictOutput() {
         return IMPLICIT_OUTPUT;
     }
 }