void (@NotNull Project project, @NotNull StringBuilder messageBuilder) { try { EclipseProjectCodeStyleData codeStyleData = getParameters().codeStyleData; if (codeStyleData != null) { CodeStyleSettings projectSettings = codeStyleData.importCodeStyle(); if (projectSettings != null) { CodeStyle.setMainProjectSettings(project, projectSettings); } } } catch (Exception e) { if (messageBuilder.length() > 0) messageBuilder.append('\n'); messageBuilder.append(EclipseBundle.message("error.while.importing.project.code.style", e.getMessage())); } }