public static boolean isAtLeastGroovy40(@NotNull PsiElement element) {
    return getInstance().isVersionAtLeast(element, GROOVY4_0);
  }
public static boolean isAtLeastGroovy40(@NotNull PsiElement element)