*/
package org.opendaylight.yangtools.plugin.generator.api;
-import com.google.common.annotations.Beta;
import java.util.Optional;
import org.opendaylight.yangtools.yang.model.api.ModuleLike;
import org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation;
* An SPI-level interface to find the schema source for a particular YANG module, as packaged in the final artifact.
* The module must be part of the current resolution context.
*/
-@Beta
public interface ModuleResourceResolver {
/**
* Find the path of the packaged resource which corresponds to the specified module in the specified representation.
* @param module Requested module
* @param representation Requested representation
* @return Path to packaged resource
- * @throws NullPointerException if any argument is null
+ * @throws NullPointerException if any argument is {@code null}
* @throws IllegalArgumentException if the requested representation is not supported by this resolver
*/
Optional<String> findModuleResourcePath(ModuleLike module,