public static FoldingDescriptor @NotNull [] buildFoldingDescriptors(@Nullable FoldingBuilder builder,
                                                                      @NotNull PsiElement root,
                                                                      @NotNull Document document,
                                                                      boolean quick) {
    FoldingDescriptor[] descriptors = buildFoldingDescriptorsNoPlaceholderCaching(builder, root, document, quick);
    for (FoldingDescriptor descriptor : descriptors) {
      descriptor.setPlaceholderText(descriptor.getPlaceholderText()); // cache placeholder text
    }
    return descriptors;
  }
public static FoldingDescriptor @NotNull [] buildFoldingDescriptors(@Nullable FoldingBuilder builder,
                                                                      @NotNull PsiElement root,
                                                                      @NotNull Document document,
                                                                      boolean quick)