void (boolean requestFocus) { ProjectSettingsService service = getProjectSettingsService(getProject()); if (service != null) { Module module = getModule(getVirtualFile(), getProject()); if (module != null && service.canOpenModuleSettings()) { service.openModuleSettings(module); } else { service.openProjectSettings(); } } }