void (Module module) { ProjectType projectType = getProjectType(); if (projectType != null && ProjectTypeService.getProjectType(module.getProject()) == null) { ProjectTypeService.setProjectType(module.getProject(), projectType); } }