public class JavaSdkVersionUtil
extends java.lang.Object
Constructor and Description |
---|
JavaSdkVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static Sdk |
findJdkByVersion(JavaSdkVersion version) |
static JavaSdkVersion |
getJavaSdkVersion(PsiElement element) |
static JavaSdkVersion |
getJavaSdkVersion(Sdk sdk) |
static boolean |
isAtLeast(PsiElement element,
JavaSdkVersion expected) |
static boolean |
isAtLeast(Sdk jdk,
JavaSdkVersion expected) |
public static boolean isAtLeast(PsiElement element, JavaSdkVersion expected)
public static boolean isAtLeast(Sdk jdk, JavaSdkVersion expected)
public static JavaSdkVersion getJavaSdkVersion(PsiElement element)
public static JavaSdkVersion getJavaSdkVersion(Sdk sdk)
public static Sdk findJdkByVersion(JavaSdkVersion version)