Migrate rawStatementArgument()/getStatementSourceReference() callers
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / modifier / ModifierStatementSupport.java
index 8536478835e3f87cf28ecd2bb4574af65d10c178..2c2d6783e97229e6646468305d0dbdf4f1570fdf 100644 (file)
@@ -36,7 +36,7 @@ public final class ModifierStatementSupport
 
     @Override
     public ModifierKind parseArgumentValue(final StmtContext<?, ?, ?> ctx, final String value) {
-        return SourceException.unwrap(ModifierKind.parse(value), ctx.getStatementSourceReference(),
+        return SourceException.unwrap(ModifierKind.parse(value), ctx.sourceReference(),
             "'%s' is not valid argument of modifier statement", value);
     }