Convert yang-parser-rfc7950 to JPMS
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / ir / AntlrSupport.java
index 2dd730d95a6862b4a08c1123bc7cb7e27f21a4c0..ffcf08dc630e19df7096ad9efef2852b0b414cd3 100644 (file)
@@ -62,7 +62,7 @@ public final class AntlrSupport {
      * @return A new IRStatement
      * @throws NullPointerException if {@code file} is null or it does not contain a root statement
      */
-    public static @NonNull IRStatement createStatement(final FileContext file) {
+    public static @NonNull IRStatement createStatement(@SuppressWarnings("exports") final FileContext file) {
         return createStatement(file.statement());
     }
 
@@ -73,7 +73,7 @@ public final class AntlrSupport {
      * @return A new IRStatement
      * @throws NullPointerException if {@code stmt} is null
      */
-    public static @NonNull IRStatement createStatement(final StatementContext stmt) {
+    public static @NonNull IRStatement createStatement(@SuppressWarnings("exports") final StatementContext stmt) {
         return new AntlrSupport().statementOf(stmt);
     }