All StatementSupports must support DeclarationReference
[yangtools.git] / yang / rfc8040-parser-support / src / main / java / org / opendaylight / yangtools / rfc8040 / parser / RefYangDataStatement.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.rfc8040.parser;
9
10 import org.opendaylight.yangtools.rfc8040.model.api.YangDataStatement;
11 import org.opendaylight.yangtools.yang.model.api.meta.DeclarationReference;
12 import org.opendaylight.yangtools.yang.model.spi.meta.AbstractRefStatement;
13
14 final class RefYangDataStatement extends AbstractRefStatement<String, YangDataStatement> implements YangDataStatement {
15     RefYangDataStatement(final YangDataStatement delegate, final DeclarationReference ref) {
16         super(delegate, ref);
17     }
18 }