BUG-7062: add revision awareness to Yin/YangTextSchemaSource
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / repo / api / SchemaSourceRepresentation.java
index 4bffdd505fd01caf6b4910b87120b46b390effc1..0105c2624565894117d25b62be8ff31516160cba 100644 (file)
@@ -3,12 +3,12 @@
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/eplv10.html
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
 package org.opendaylight.yangtools.yang.model.repo.api;
 
 import com.google.common.annotations.Beta;
-
+import javax.annotation.Nonnull;
 import org.opendaylight.yangtools.concepts.Identifiable;
 import org.opendaylight.yangtools.concepts.Immutable;
 
@@ -51,5 +51,5 @@ public interface SchemaSourceRepresentation extends Identifiable<SourceIdentifie
      *
      * @return The type of representation.
      */
-    Class<? extends SchemaSourceRepresentation> getType();
+    @Nonnull Class<? extends SchemaSourceRepresentation> getType();
 }