We have used Guava and JSR305 together extensively, but in our current project cannot use JSR305. It would be awesome if FindBugs could check nullability issues using annotations for which the simple class name is @CheckForNull, @Nonnull, or @Nullable, regardless of the fully qualified class name.
We use home grown matching annotations and can configure our IDE to support them, but not FindBugs.
Vote for this ticket. Eclipse supports specifying custom classes as @NonNull and @Nullable annotations and we're actually using it (though Eclipse null analysis is very poor). It would be nice if FindBugs support user-specified class names for these annotations.
Schould be fixed in 2.0.3, please validate.
See https://code.google.com/p/findbugs/source/detail?r=ee8ac7f4b214857cdac028ad146048c0e69082a1