TimeStampedIndentOptions (@NotNull Project project, @NotNull VirtualFile file, @NotNull Document document) { FileType fileType = file.getFileType(); CodeStyleSettings settings = CodeStyle.getSettings(project, file); return new TimeStampedIndentOptions(settings.getIndentOptions(fileType), document.getModificationStamp()); }