@Nullable
  public static PsiElement getEditableElement(@NotNull FoldRegion region) {
    PsiElement psiElement = EditorFoldingInfo.get(region.getEditor()).getPsiElement(region);
    return psiElement == null || psiElement.getUserData(EDITABLE_PROPERTY_VALUE) == null ? null : psiElement;
  }
@Nullable
  public static PsiElement getEditableElement(@NotNull FoldRegion region)