* 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.rfc6020.util;
+package org.opendaylight.yangtools.yang.parser.rfc7950.stmt;
import com.google.common.collect.ImmutableList;
import java.util.List;
private final SchemaPath path;
private final List<UnknownSchemaNode> unknownNodes;
- public AbstractEffectiveSchemaNode(final StmtContext<QName, D, ?> ctx) {
+ protected AbstractEffectiveSchemaNode(final StmtContext<QName, D, ?> ctx) {
super(ctx);
this.path = ctx.getSchemaPath().get();
@Nonnull
@Override
- public QName getQName() {
+ public final QName getQName() {
return path.getLastComponent();
}
@Nonnull
@Override
- public SchemaPath getPath() {
+ public final SchemaPath getPath() {
return path;
}
@Nonnull
@Override
- public List<UnknownSchemaNode> getUnknownSchemaNodes() {
+ public final List<UnknownSchemaNode> getUnknownSchemaNodes() {
return unknownNodes;
}
}