private function getModuleStateMapGenerator($systemRequirementsInfo)
    {
        $setup = $this->getSetupInstance();
        $language = $this->getLanguageInstance();

        $moduleStateMapGenerator = new Controller\ModuleStateMapGenerator($systemRequirementsInfo);

        $moduleStateMapGenerator->setModuleStateHtmlClassConvertFunction(function ($moduleState) use ($setup) {
            return $setup->getModuleClass($moduleState);
        });
        $moduleStateMapGenerator->setModuleNameTranslateFunction(function ($moduleId) use ($language) {
            return $language->getModuleName($moduleId);
        });
        $moduleStateMapGenerator->setModuleGroupNameTranslateFunction(function ($moduleGroupId) use ($language) {
            return $language->getModuleName($moduleGroupId);
        });

        return $moduleStateMapGenerator;
    }