public class JavaVersionServiceImpl extends JavaVersionService
Constructor and Description |
---|
JavaVersionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
JavaSdkVersion |
getJavaSdkVersion(PsiElement element) |
boolean |
isAtLeast(PsiElement element,
JavaSdkVersion version) |
boolean |
isCompilerVersionAtLeast(PsiElement element,
JavaSdkVersion version) |
getInstance
public boolean isAtLeast(PsiElement element, JavaSdkVersion version)
isAtLeast
in class JavaVersionService
public JavaSdkVersion getJavaSdkVersion(PsiElement element)
getJavaSdkVersion
in class JavaVersionService
public boolean isCompilerVersionAtLeast(PsiElement element, JavaSdkVersion version)
isCompilerVersionAtLeast
in class JavaVersionService