* of this class, hence recursive lookups from them cross this class.
*/
public class RootStatementContext<A, D extends DeclaredStatement<A>, E extends EffectiveStatement<A, D>> extends
- StatementContextBase<A, D, E> {
+ AbstractResumedStatement<A, D, E> {
public static final YangVersion DEFAULT_VERSION = YangVersion.VERSION_1;
protected boolean isParentSupportedByFeatures() {
return true;
}
+
+ @Override
+ StatementContextBase<A, D, E> reparent(final StatementContextBase<?, ?, ?> newParent) {
+ throw new UnsupportedOperationException("Root statement cannot be reparented to" + newParent);
+ }
}