Introduce yang-xpath-antlr
[yangtools.git] / yang / yang-xpath-impl / src / main / java / org / opendaylight / yangtools / yang / xpath / impl / CapturingErrorListener.java
index d6a5d312d92132354ccb4ac98d11c90fa4ca065a..9e356884a0c1914f5269d293bf0f9d49a73c08b9 100644 (file)
@@ -7,6 +7,7 @@
  */
 package org.opendaylight.yangtools.yang.xpath.impl;
 
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 import javax.xml.xpath.XPathExpressionException;
 import org.antlr.v4.runtime.BaseErrorListener;
 import org.antlr.v4.runtime.RecognitionException;
@@ -14,6 +15,8 @@ import org.antlr.v4.runtime.Recognizer;
 import org.eclipse.jdt.annotation.Nullable;
 
 final class CapturingErrorListener extends BaseErrorListener {
+    @SuppressFBWarnings(value = "NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR",
+            justification = "SB does not grok CDT")
     private @Nullable XPathExpressionException error;
 
     @Override