Import annotations to yang-parser-rfc7950 90/93790/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 11 Nov 2020 20:58:03 +0000 (21:58 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 11 Nov 2020 20:58:57 +0000 (21:58 +0100)
Do not rely on upstreams for these, use them explicitly.

Change-Id: Id0a5216d2612fd516861ce9b0155283ff8ef4d2b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/main/java/module-info.java

index f7965edd8eee1c93a39ade102d3304c1563ad9ac..5a65086d99c092ee749d5c82499de95237c220f2 100644 (file)
@@ -29,6 +29,11 @@ module org.opendaylight.yangtools.yang.parser.rfc7950 {
     requires org.opendaylight.yangtools.util;
     requires org.slf4j;
 
+    // Annotations
+    requires static com.github.spotbugs.annotations;
+    requires static org.checkerframework.checker.qual;
+    requires static org.eclipse.jdt.annotation;
+
     // FIXME: hide these
     exports org.opendaylight.yangtools.yang.parser.rfc7950.stmt.action;
     exports org.opendaylight.yangtools.yang.parser.rfc7950.stmt.anydata;