@SafeVarargs
  public static @Nullable <T extends PsiElement> T getContextOfType(@Nullable PsiElement element, @NotNull Class<? extends T> @NotNull ... classes) {
    return getContextOfType(element, true, classes);
  }
@SafeVarargs
  public static @Nullable <T extends PsiElement> T getContextOfType(@Nullable PsiElement element, @NotNull Class<? extends T> @NotNull ... classes)