This question is closely related to java-class-name-same-as-the-nested-package-name. My specific question here is: How can I disable/suppress that warning in Eclipse?
Some remarks:
- I cannot change the code, it's a pattern widely used by Jenkins.
- It seems the Java Language Specification (JLS) allows it - anyway javac doesn't mark it as error.
- The reason for the warning is that a class and a resource folder have the same name (I am not sure if a resource folder establishes a package according to JLS).
- I want to get that warning away because it hides other warnings.