YANGTOOLS-706: Add TypedefEffectiveStatement.asTypeEffectiveStatement()
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / typedef / TypedefEffectiveStatementImpl.java
index 5f882f10b5724ae7486d238fe0168b61af857771..5ebc860312995b4f69ed3a67fdee9b4a82ec79c5 100644 (file)
@@ -36,8 +36,7 @@ import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-// FIXME: hide this class
-public final class TypedefEffectiveStatementImpl extends AbstractEffectiveSchemaNode<TypedefStatement> implements
+final class TypedefEffectiveStatementImpl extends AbstractEffectiveSchemaNode<TypedefStatement> implements
         TypedefEffectiveStatement {
     private static final Logger LOG = LoggerFactory.getLogger(TypedefEffectiveStatementImpl.class);
 
@@ -89,6 +88,7 @@ public final class TypedefEffectiveStatementImpl extends AbstractEffectiveSchema
         return typeDefinition;
     }
 
+    @Override
     public TypeEffectiveStatement<TypeStatement> asTypeEffectiveStatement() {
         TypeEffectiveStatement<TypeStatement> ret = typeStatement;
         if (ret == null) {