class LocalModuleConfigExecutor implements BiFunctionConfigExecutor<Source, LocalProjectConfig, ProjectConfig> {

    @Override
    public Optional<ProjectConfig> apply(Source source,
                                         LocalProjectConfig localProjectConfig) {
        Module module = moduleService.resolveModule(Paths.convert(source.getPath().resolve("pom.xml")));
        return Optional.of(new LocalModuleImpl(module));
    }

    public  LocalModuleConfigExecutor();
    @Inject public  LocalModuleConfigExecutor(final KieModuleService moduleService);

}