Deprecate getSemanticVersion() for removal
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / ModuleImport.java
index 4a135bb4a2d6d8d6098fd665fd2786c6d9549cd2..3e353cd0794dfe8c451735f2c86f46f794a023ce 100644 (file)
@@ -43,7 +43,9 @@ public interface ModuleImport extends DocumentedNode, EffectiveStatementEquivale
      * Returns the semantic version to import.
      *
      * @return Semantic version of module to import
+     * @deprecated Semantic version imports are deprecated.
      */
+    @Deprecated(since = "8.0.4", forRemoval = true)
     Optional<SemVer> getSemanticVersion();
 
     /**