void (@NotNull CodeStyleSettings settings) { CommonCodeStyleSettings.IndentOptions indentOptions = getIndentOptions(settings); if (indentOptions == null && getProvider() != null) { myEditor.setEnabled(false); indentOptions = settings.getIndentOptions(getProvider().getLanguage().getAssociatedFileType()); } assert indentOptions != null; myEditor.reset(settings, indentOptions); }