public class JavaVersionService
extends java.lang.Object
Constructor and Description |
---|
JavaVersionService() |
Modifier and Type | Method and Description |
---|---|
static JavaVersionService |
getInstance() |
JavaSdkVersion |
getJavaSdkVersion(PsiElement element) |
boolean |
isAtLeast(PsiElement element,
JavaSdkVersion version) |
boolean |
isCompilerVersionAtLeast(PsiElement element,
JavaSdkVersion version) |
public static JavaVersionService getInstance()
public boolean isAtLeast(PsiElement element, JavaSdkVersion version)
public JavaSdkVersion getJavaSdkVersion(PsiElement element)
public boolean isCompilerVersionAtLeast(PsiElement element, JavaSdkVersion version)