public final class JavaLanguageLevelHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
convertLanguageLevelToIjFormat(String languageLevel) |
static <T extends JvmLibraryArg> |
getLanguageLevel(IjProjectConfig projectConfig,
TargetNode<T> targetNode)
Get Java language level for a JVM library target
|
static String |
normalizeSourceLevel(String jdkVersion)
Ensures that source level has format "majorVersion.minorVersion".
|
public static <T extends JvmLibraryArg> Optional<String> getLanguageLevel(IjProjectConfig projectConfig, TargetNode<T> targetNode)
public static String normalizeSourceLevel(String jdkVersion)