@SafeVarargs
  @Contract("null, _ -> null")
  public static @Nullable <T extends PsiElement> T getParentOfType(@Nullable PsiElement element,
                                                                   @NotNull Class<? extends T> @NotNull ... classes) {
    return getParentOfType(element, true, classes);
  }
@SafeVarargs
  @Contract("null, _ -> null")
  public static @Nullable <T extends PsiElement> T getParentOfType(@Nullable PsiElement element,
                                                                   @NotNull Class<? extends T> @NotNull ... classes)