private static boolean hasAtLeastJdkVersion(PsiElement element, JavaSdkVersion version) {
    return getJavaVersion(element).isAtLeast(version);
  }
private static boolean hasAtLeastJdkVersion(PsiElement element, JavaSdkVersion version)