/* * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * 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.rfc7950.stmt.modifier; import com.google.common.annotations.Beta; import com.google.common.base.MoreObjects; import org.opendaylight.yangtools.yang.model.api.stmt.ModifierEffectiveStatement; import org.opendaylight.yangtools.yang.model.api.stmt.ModifierStatement; import org.opendaylight.yangtools.yang.model.api.type.ModifierKind; import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.DeclaredEffectiveStatementBase; import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext; /** * YANG 1.1 Modifier effective statement implementation. */ @Beta final class ModifierEffectiveStatementImpl extends DeclaredEffectiveStatementBase implements ModifierEffectiveStatement { ModifierEffectiveStatementImpl(final StmtContext ctx) { super(ctx); } @Override public String toString() { return MoreObjects.toStringHelper(this).add("argument", argument()).toString(); } }