2 * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.parser.rfc7950.stmt.extension;
10 import org.opendaylight.yangtools.yang.model.api.meta.StatementDefinition;
11 import org.opendaylight.yangtools.yang.model.api.stmt.UnrecognizedStatement;
12 import org.opendaylight.yangtools.yang.model.spi.meta.AbstractDeclaredEffectiveStatement;
15 * An 'implementation' of an effective UnrecognizedStatement. This class is actually never instantiated and exists
16 * only as an implementation-private marker for {@link StatementDefinition#getEffectiveRepresentationClass()}.
18 final class UnrecognizedEffectiveStatement extends AbstractDeclaredEffectiveStatement<Object, UnrecognizedStatement> {
19 private UnrecognizedEffectiveStatement() {
20 // This should never be called
24 public StatementDefinition statementDefinition() {
25 throw new UnsupportedOperationException();
29 public String argument() {
30 throw new UnsupportedOperationException();
34 public UnrecognizedStatement getDeclared() {
35 throw new UnsupportedOperationException();