public class JavaSettingsUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENABLE_PREVIEW_JVM_FLAG |
static java.lang.String |
PARAMETERS_JVM_FLAG |
Modifier | Constructor and Description |
---|---|
private |
JavaSettingsUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasPreviewFeatures(org.eclipse.jdt.core.IJavaProject project)
Checks if the given
IJavaProject has preview features enabled. |
public static final java.lang.String ENABLE_PREVIEW_JVM_FLAG
public static final java.lang.String PARAMETERS_JVM_FLAG
public static boolean hasPreviewFeatures(org.eclipse.jdt.core.IJavaProject project)
IJavaProject
has preview features enabled.project
- the IJavaProject
true
if the project preferences have JavaCore.COMPILER_PB_ENABLE_PREVIEW_FEATURES=enabled,
false
otherwise.