@Incubating public interface JavaSourceAware
Modifier and Type | Method and Description |
---|---|
JavaSourceSettings |
getJavaSourceSettings()
Returns the settings for Java sources or
null if not a Java element. |
@Nullable JavaSourceSettings getJavaSourceSettings() throws UnsupportedMethodException
null
if not a Java element.UnsupportedMethodException
- For Gradle versions older than 2.10, where this method is not supported.