JavaSourceAware (Gradle API 2.10)
Date: 2015-12-21

Package: org.gradle.tooling.model.java

## [Java] Interface JavaSourceAware

- An element which might have associated Java sources.

  Since:
    2.10

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `JavaSourceSettings` | `getJavaSourceSettings()` Returns the settings for Java sources or `null` if not a Java element.

- - ### Method Detail

    - #### @Nullable public JavaSourceSettings getJavaSourceSettings()

      Returns the settings for Java sources or `null` if not a Java element.

      throws:
        UnsupportedMethodException For Gradle versions older than 2.10, where this method is not supported.
      Returns:
        The source settings.