FormattingModel (PsiElement dataElement, Language language, CodeStyleSettings settings, @NotNull PsiFile psiFile, @Nullable Indent indent) { Block block = createDataLanguageRootBlock(dataElement, language, settings, getPolicy(settings, psiFile), psiFile, indent); return new DocumentBasedFormattingModel(block, psiFile.getProject(), settings, psiFile.getFileType(), psiFile); }