public static FormattingModel createFormattingModelForPsiFile(PsiFile file,
                                                                @NotNull Block rootBlock,
                                                                CodeStyleSettings settings){
    return Formatter.getInstance().createFormattingModelForPsiFile(file, rootBlock, settings);
  }
public static FormattingModel createFormattingModelForPsiFile(PsiFile file,
                                                                @NotNull Block rootBlock,
                                                                CodeStyleSettings settings)