Package: org.gradle.tooling.model.eclipse

## [Java] Interface EclipseJavaSourceSettings

- Describes Eclipse Java source settings for compiling and running some Java source code.

  Since:
    2.10

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `InstalledJdk` | `getJdk()` Returns the JDK used for building.
    `JavaVersion` | `getSourceLanguageLevel()` Returns the Java source language level.
    `JavaVersion` | `getTargetBytecodeVersion()` Returns the target bytecode level.

- - ### Method Detail

    - #### public InstalledJdk getJdk()

      Returns the JDK used for building.

      throws:
        UnsupportedMethodException For provider Gradle versions older than 2.11, where this method is not supported.
      Returns:
        The JDK. Never returns `null`.
      Since:
        2.11

    - #### public JavaVersion getSourceLanguageLevel()

      Returns the Java source language level.

      Returns:
        The source language level. Never returns `null`.

    - #### public JavaVersion getTargetBytecodeVersion()

      Returns the target bytecode level.

      throws:
        UnsupportedMethodException For Gradle versions older than 2.11, where this method is not supported.
      Returns:
        The target bytecode language version. Never returns `null`.
      Since:
        2.11