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

org.gradle.tooling.model.java

## Interface JavaSourceAware

- All Known Subinterfaces:
    EclipseProject

      @Incubating
      public interface JavaSourceAware

  An element which might have associated Java sources.
  Since:
    2.10

- - ### Method Summary

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

- - ### Method Detail

    - #### getJavaSourceSettings

          @Nullable
          JavaSourceSettings getJavaSourceSettings()
                                                   throws UnsupportedMethodException

      Returns the settings for Java sources or `null` if not a Java element.
      Returns:
        The source settings.
      Throws:
        `UnsupportedMethodException` - For Gradle versions older than 2.10, where this method is not supported.