void (@NotNull CommonCodeStyleSettings.IndentOptions indentOptions) { boolean isTabsUsed = isTabsUsed(myStats); boolean isSpacesUsed = isSpacesUsed(myStats); int newIndentSize = isSpacesUsed ? getPositiveIndentSize(myStats) : 0; if (isTabsUsed) { adjustForTabUsage(indentOptions); } else if (isSpacesUsed) { indentOptions.USE_TAB_CHARACTER = false; if (newIndentSize > 0 && indentOptions.INDENT_SIZE != newIndentSize) { indentOptions.INDENT_SIZE = newIndentSize; } } }