public static @Nullable PsiElement findSiblingBackward(@NotNull PsiElement element,
                                                         @NotNull IElementType elementType,
                                                         boolean strict,
                                                         @Nullable Consumer<? super PsiElement> consumer) {
    for (PsiElement e = strict ? element.getPrevSibling() : element; e != null; e = e.getPrevSibling()) {
      if (elementType.equals(e.getNode().getElementType())) {
        return e;
      }
      if (consumer != null) consumer.consume(e);
    }
    return null;
  }
public static @Nullable PsiElement findSiblingBackward(@NotNull PsiElement element,
                                                         @NotNull IElementType elementType,
                                                         boolean strict,
                                                         @Nullable Consumer<? super PsiElement> consumer)