java file out of source root
@ColinD Java really needn't to deal with backwards compatibility in each single line. In any Java source file using generics the old non-generic types should be forbidden (you can always use <?> if interfacing to legacy code) and the useless diamond operator should not exist.
intellij idea - Bazel build: Java file is located outside of module ...