Propagate @Nonnull and @Nullable annotations
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / repo / api / YinSchemaSourceRepresentation.java
index 600a3838b49f6b68dfaaecaeb252fd1f9d05cd30..6134babcf21b53bd3d7395c043130e2aaa471f6a 100644 (file)
@@ -7,6 +7,8 @@
  */
 package org.opendaylight.yangtools.yang.model.repo.api;
 
+import javax.annotation.Nonnull;
+
 /**
  * A YIN {@link SchemaSourceRepresentation}.
  */
@@ -16,6 +18,7 @@ public interface YinSchemaSourceRepresentation extends SchemaSourceRepresentatio
      *
      * @return The type of representation.
      */
+    @Nonnull
     @Override
     Class<? extends YinSchemaSourceRepresentation> getType();
 }