Update javadoc and use argument() instead.
Change-Id: Id5af2a39bb253d610fc30ebe5264d3537e04886c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* Returns the YANG keyword corresponding to this object.
*
* @return String that corresponds to the YANG keyword.
- * @deprecated Use {@link #argument} instead.
+ * @deprecated Use {@link #argument()} instead.
*/
@Deprecated(since = "9.0.0", forRemoval = true)
public String getKeyword() {
public final class DeviateStatementImpl extends WithSubstatements<DeviateKind> implements DeviateStatement {
public DeviateStatementImpl(final DeviateKind argument,
final ImmutableList<? extends DeclaredStatement<?>> substatements) {
- super(argument.getKeyword(), argument, substatements);
+ super(argument.argument(), argument, substatements);
}
}