boolean (@NotNull PsiFile file) { for (var provider: InjectedFormattingOptionsProvider.EP_NAME.getExtensionList()) { var result = provider.shouldDelegateToTopLevel(file); if (result == null) continue; return result; } return true; }