IndentOptions (@Nullable FileType fileType) { IndentOptions indentOptions = getLanguageIndentOptions(fileType); if (indentOptions != null) return indentOptions; if (fileType == null) { return OTHER_INDENT_OPTIONS; } if (!myLoadedAdditionalIndentOptions) { loadAdditionalIndentOptions(); } indentOptions = myAdditionalIndentOptions.get(fileType); if (indentOptions != null) return indentOptions; return OTHER_INDENT_OPTIONS; }