api / org.gradle.tooling.model.idea / IdeaJavaLanguageSettings / getTargetBytecodeVersion

getTargetBytecodeVersion

abstract fun getTargetBytecodeVersion(): JavaVersion

Returns the target bytecode level.

Exceptions

UnsupportedMethodException - For provider Gradle versions older than 2.11, where this method is not supported.

Return
The target bytecode language level, or null if this value should be inherited.