Make getIfFeaturePredicate() a default method
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / UsesNode.java
index 5d18a93449f34d3416b8b9dd2a5d1ce574fee94b..f8e163cbf186f059bffdb450c2e6d15e5bfb9d21 100644 (file)
@@ -9,34 +9,31 @@ package org.opendaylight.yangtools.yang.model.api;
 
 import java.util.Map;
 import java.util.Set;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus;
 
 /**
  * Contains the methods for getting data and checking properties of the YANG <code>uses</code> substatement.
  */
 public interface UsesNode extends WhenConditionAware, WithStatus, CopyableNode {
-
     /**
      * Returns the schema path to used grouping.
      *
      * @return schema path to 'grouping' on which this 'uses' statement points
      */
-    @Nonnull SchemaPath getGroupingPath();
+    @NonNull SchemaPath getGroupingPath();
 
     /**
      * Returns augmentations which were specified in this uses node.
      *
      * @return Set of augment statements defined under this uses node
      */
-    @Nonnull Set<AugmentationSchemaNode> getAugmentations();
+    @NonNull Set<AugmentationSchemaNode> getAugmentations();
 
     /**
-     * Some of the properties of each node in the grouping can be refined with
-     * the "refine" statement.
+     * Some of the properties of each node in the grouping can be refined with the "refine" statement.
      *
-     * @return Map, where key is schema path of refined node and value is
-     *         refined node
+     * @return Map, where key is schema path of refined node and value is refined node
      */
-    @Nonnull Map<SchemaPath, SchemaNode> getRefines();
+    @NonNull Map<SchemaPath, SchemaNode> getRefines();
 }