public boolean isAtLeast(@NotNull PsiElement element, @NotNull JavaSdkVersion version) {
    return PsiUtil.getLanguageLevel(element).isAtLeast(version.getMaxLanguageLevel());
  }
public boolean isAtLeast(@NotNull PsiElement element, @NotNull JavaSdkVersion version)