-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed as not planned
Closed as not planned
Copy link
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: taskA general taskA general task
Description
Overview
Since Spring Framework 5.0 (see #20099), we annotate packages in package-info.java
files with null-safety annotations such as @NonNullApi
; however, not all packages contain package-info.java
files which prevents us from enforcing non-null semantics by default for those packages.
Scope
This applies to all packages within src/main
. Conversely, this does not apply to packages in src/test
.
Deliverables
- Configure the
JavadocPackage
Checkstyle module to requirepackage-info.java
files for all packages undersrc/main
. - Determine if it is possible to require that
package-info.java
files include null-safety annotations – for example, via Checkstyle. - If it's possible to require that
package-info.java
files include null-safety annotations, configure the necessary infrastructure. - Introduce missing
package-info.java
files with package-level Javadoc and null-safety annotations.
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: taskA general taskA general task