Separate out Module and Submodule interfaces
[yangtools.git] / yang / yang-maven-plugin-spi / src / main / java / org / opendaylight / yangtools / yang2sources / spi / ModuleResourceResolver.java
index 2162eebc3a442963e9a410990f2a6a398ffa3252..d1e0c5b82f5b2c8bad2f8dfa9a5c7a030fbc4e73 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.yangtools.yang2sources.spi;
 
 import com.google.common.annotations.Beta;
 import java.util.Optional;
-import org.opendaylight.yangtools.yang.model.api.Module;
+import org.opendaylight.yangtools.yang.model.api.ModuleLike;
 import org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation;
 
 /**
@@ -28,5 +28,6 @@ public interface ModuleResourceResolver {
      * @throws NullPointerException if any argument is null
      * @throws IllegalArgumentException if the requested representation is not supported by this resolver
      */
-    Optional<String> findModuleResourcePath(Module module, Class<? extends SchemaSourceRepresentation> representation);
+    Optional<String> findModuleResourcePath(ModuleLike module,
+        Class<? extends SchemaSourceRepresentation> representation);
 }