IndentOptions (@NotNull Project project, @Nullable VirtualFile file, @Nullable TextRange formatRange, boolean ignoreDocOptions, @Nullable Processor<? super FileIndentOptionsProvider> providerProcessor) { if (file != null && file.isValid()) { FileType fileType = file.getFileType(); return getIndentOptions(fileType); } return OTHER_INDENT_OPTIONS; }