Migrate rawStatementArgument()/getStatementSourceReference() callers
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / AbstractEffectiveModule.java
index 99f7be9c319468357fd005eb488503b2d602385d..3d5f539c615cc89fc1ff9a94c661114dcf774d83 100644 (file)
@@ -245,7 +245,7 @@ public abstract class AbstractEffectiveModule<D extends DeclaredStatement<Unqual
             final String name) {
         return SourceException.throwIfNull(
             StmtContextUtils.firstAttributeOf(stmt.declaredSubstatements(), PrefixStatement.class),
-            stmt.getStatementSourceReference(), "Unable to resolve prefix for %s %s.", type, name);
+            stmt.sourceReference(), "Unable to resolve prefix for %s %s.", type, name);
     }
 
     // Alright. this is quite ugly