boolean (@NotNull Project project, @Nullable Module module, String inputString) { if (inputString.equals(project.getName())) { return false; } if (module == null) { return true; } if (ProjectAttachProcessor.canAttachToProject()) { return module == ModuleAttachProcessor.getPrimaryModule(project); } return module == PrimaryModuleManager.findPrimaryModule(project); }