JSR305CheckstylePlugin
JSR305CheckstylePlugin copied to clipboard
a plugin which ensures nullness annotations on methods and constructors
for some unknown reasons the test are failing when upgrading the gradle wrapper (tested 4.1 and 4.4) execute `./gradlew wrapper --gradle-version 4.4` twice
atm this is just a TODO
SpotBugs, the successor of Findbugs is released: https://github.com/spotbugs/spotbugs - use SpotBugs in test - review/update SpotBugs annotations, especially non JSR305 annotations
it is possible to declare your own JSR305 annotation like described in https://stackoverflow.com/questions/7658353/is-parametersarenonnullbydefault-applies-to-method-return-values-too/13429092#13429092
find a way to honor annotations at package-info.java
see https://sourceforge.net/p/eclipse-cs/git/ci/master/tree/net.sf.eclipsecs.sample/src/net/sf/eclipsecs/sample/checks for an example
they don't need to be compiled and therefore should be moved. this can be useful to re enable the java 7 build process and code compatibility.
there is a problem, when you try to update to a newer version I solved it by - clear all occurences of package-/plugin- and class-name in eclipses directory to purge...