public static void setup(@NotNull PsiFile psiFile) {
    LanguageCodeStyleProvider provider = LanguageCodeStyleProvider.findUsingBaseLanguage(psiFile.getLanguage());
    if (provider != null && provider.usesCommonKeepLineBreaks() && CodeStyle.getLanguageSettings(psiFile).KEEP_LINE_BREAKS) {
      THREAD_LOCAL.set(new KeptLineFeedsCollector(psiFile));
    }
  }
public static void setup(@NotNull PsiFile psiFile)