boolean (@NotNull Document doc) { final FileViewProvider viewProvider = getCachedViewProvider(doc); return viewProvider != null && PostprocessReformattingAspect.getInstance(myProject).isViewProviderLocked(viewProvider); }