org.sonar.l10n.checkstyle.com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck.html Maven / Gradle / Ivy
This check makes sure that all package annotations are in the package-info.java file.
According to the Java JLS 3rd ed.
The JLS does not enforce the placement of package annotations. This placement may vary based on implementation. The JLS does highly recommend that all package annotations are placed in the package-info.java file. See Java Language specification, sections 7.4.1.1.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy