Interface JavaLikeRootProvider


public interface JavaLikeRootProvider
Extension point for contributing source roots compilable in parallel with Java sources. Necessary since the ClassPath.SOURCE for src/main/java/ must include src/main/KIND/ too. Generally these roots (under src/test/KIND/ also) will get the same classpath information as Java. Creation of SourceGroups (or their nodes) is not automatic, as this requires display labels and might merit further customization. Related/similar to OtherSourcesExclude Note: the api is a bit simplistic for performance reasons, eg. if user reconfigures the src/main/groovy content to a different location in pom.xml we silently assume that src/main/groovy doesn't exist then.
Since:
2.36
See Also:
  • ProjectServiceProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtains the kind of language supported.
  • Method Details

    • kind

      String kind()
      Obtains the kind of language supported.
      Returns:
      e.g. "groovy"