test with jsr-305 java nullability
This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
RouxAntoine de67d582fa
doc: explain test and conclusion
2024-04-30 21:49:40 +02:00
src/main/java feature: some test with java jsr-305 for java nullability 2024-04-30 21:44:45 +02:00
.gitignore feature: some test with java jsr-305 for java nullability 2024-04-30 21:44:45 +02:00
README.md doc: explain test and conclusion 2024-04-30 21:49:40 +02:00
pom.xml feature: some test with java jsr-305 for java nullability 2024-04-30 21:44:45 +02:00

README.md

notNull

This project aim to test java nullability solution. Mainly around jsr-305

  • With google findbugs annotations
  • With spring annotations
  • With custom hand made annotations

By defining annotation :

  • in module-info.java
  • in package-info.java

Conclusion:

module-info.java force to declare each dependency use by the project.

package-info.java is not recursive and so should be added in each package/subpackage.

external annotation spring/findbugs required maven dependencies (of courses).

spring annotation are not compatible with module-info.