*/
package org.opendaylight.yangtools.yang.model.api;
-import java.util.Set;
+import java.util.Collection;
+import org.eclipse.jdt.annotation.NonNull;
/**
* Interface for all nodes which are possible targets of augmentation. The
* input, output, or notification node.
*/
public interface AugmentationTarget {
-
/**
+ * Returns augmentations targeting this element.
+ *
* @return set of augmentations targeting this element.
*/
- Set<AugmentationSchema> getAvailableAugmentations();
-
+ @NonNull Collection<? extends @NonNull AugmentationSchemaNode> getAvailableAugmentations();
}