BUG-9265: Switch empty type mapping from Void to Empty
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / AugmentationNode.java
index 5a6d338e132757a87e682fb7c60c9c297dda7b04..540a40fb51c67132f174d28ac9cbf92686657625 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.yangtools.yang.data.api.schema;
 
 import java.util.Collection;
+import javax.annotation.Nonnull;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
 import org.opendaylight.yangtools.yang.model.api.AugmentationSchema;
@@ -34,8 +35,8 @@ public interface AugmentationNode extends MixinNode, DataContainerNode<Augmentat
      * This is sufficient to identify instance of augmentation, since RFC6020 states that <code>augment</code>
      * that augment statement must not add multiple nodes from same namespace / module to the target node.
      *
-     * @return Identifier which uniquelly identifies augmentation in particular subtree.
+     * @return Identifier which uniquely identifies augmentation in particular subtree.
      */
     @Override
-    AugmentationIdentifier getIdentifier();
+    @Nonnull AugmentationIdentifier getIdentifier();
 }