@SafeVarargs
  @Contract(value = "null, _ -> null", pure = true)
  public static @Nullable <T extends PsiElement> T getChildOfAnyType(@Nullable PsiElement element, Class<? extends T> @NotNull ... classes) {
    if (element != null) {
      for (PsiElement child = element.getFirstChild(); child != null; child = child.getNextSibling()) {
        for (Class<? extends T> aClass : classes) {
          if (aClass.isInstance(child)) {
            return aClass.cast(child);
          }
        }
      }
    }
    return null;
  }
@SafeVarargs
  @Contract(value = "null, _ -> null", pure = true)
  public static @Nullable <T extends PsiElement> T getChildOfAnyType(@Nullable PsiElement element, Class<? extends T> @NotNull ... classes)