jbanking icon indicating copy to clipboard operation
jbanking copied to clipboard

Consider using `@NotNull` annotations

Open marcwrobel opened this issue 1 year ago • 1 comments

@NotNull annotations are not used in jbanking : so far keeping the library completely dependency-free was preferred. But this annotation helps static code analysis, can be really helpful in IDEs or with some languages like Kotlin.

Should we consider using @NotNull annotations ?

marcwrobel avatar Oct 20 '22 13:10 marcwrobel

A few links :

  • https://stackoverflow.com/questions/4963300/which-notnull-java-annotation-should-i-use
  • https://jspecify.dev/
  • https://github.com/marcwrobel/jbanking/pull/223#discussion_r1000376897

marcwrobel avatar Oct 20 '22 13:10 marcwrobel