public static boolean isLanguageLevel7OrHigher(@NotNull PsiElement element) {
    return getLanguageLevel(element).isAtLeast(LanguageLevel.JDK_1_7);
  }
public static boolean isLanguageLevel7OrHigher(@NotNull PsiElement element)