Object[] (Project project) { final Module module = moduleName != null ? ModuleManager.getInstance(project).findModuleByName(moduleName) : null; if (module == null) return null; return new Object[]{module}; }