Propagate @Nonnull and @Nullable annotations
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / AnyxmlSchemaLocationEffectiveStatementImpl.java
index 27e4cb0de9aae5fe720590cb372c6da910349410..dc3e1c92ea77a64086daa0592aec2a7dea4b29a7 100644 (file)
@@ -10,6 +10,7 @@ package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective;
 
 import com.google.common.annotations.Beta;
 import java.util.Objects;
+import javax.annotation.Nonnull;
 import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
 import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier;
@@ -29,11 +30,13 @@ public final class AnyxmlSchemaLocationEffectiveStatementImpl extends
         path = ctx.getParentContext().getSchemaPath().get().createChild(getNodeType());
     }
 
+    @Nonnull
     @Override
     public QName getQName() {
         return getNodeType();
     }
 
+    @Nonnull
     @Override
     public SchemaPath getPath() {
         return path;