class KieResourceResolver extends ResourceResolver<KieModule> {

    @Override
    protected KieModule makeModule(final org.uberfire.java.nio.file.Path nioModuleRootPath) {
        try {

            final KieModule module = simpleModuleInstance(nioModuleRootPath);
            final POM pom = pomService.load(module.getPomXMLPath());
            module.setPom(pom);

            return module;

        } catch (final Exception e) {
            return null;
        }
    }

    public  KieResourceResolver();
    @Inject public  KieResourceResolver(final @Named("ioStrategy") IOService ioService,
                               final POMService pomService,
                               final CommentedOptionFactory commentedOptionFactory,
                               final KModuleService kModuleService,
                               final Instance<ModuleResourcePathResolver> resourcePathResolversInstance);

}