void () { String error = panel.getValidationError(project); if (error != null) { Messages.showErrorDialog(panel, error); return; } Set<ClassPattern> patterns = entryPointsManagerBase.getPatterns(); patterns.clear(); patterns.addAll(list); DaemonCodeAnalyzer.getInstance(entryPointsManagerBase.myProject).restart(); super.doOKAction(); }