jsr305

Findbugs using jsr305 annotations in eclipse is not finding bugs

Hi Folks, I've been experimenting with the jsr 305 annotations for use with Findbugs, specifically the @CheckForNull annotation which would have avoided a bug I just found making it out to customers. I've added jsr305.jar and annotations.jar to my build path but the bugs aren't found by findbugs. I'm using Eclipse with the Eclipse Findb...

JSR305 vs. JSR308 (Java Type Anotations) - Which is going to be the standard?

Hello! There seem to be two different JSRs for annotations. JSR-305: Annotations for Software Defect Detection (additional resource) JSR-308: Annotations on Java Types (additional resource) Both seem to be oriented towards static code analysis. Do you know: which of the both is going to be either in Java SE 7 or Java EE 6? how "s...

Findbugs + JSR305: Possibility to specify default behavior?

Hello! Note: those annotations, I'm talking about, are specified by JSR305. I have the latest Findbugs (1.3.9) and it finds errors correctly when some field, annotated with @Nonnull, is assigned to null. But, in my project, the "non-null logic" is the default case. I would say that null is explicitely allowed only in 5% of cases. So,...

What is the status of JSR 305?

I have seen this question: http://stackoverflow.com/questions/1476757/jsr305-vs-jsr308-java-type-anotations-which-is-going-to-be-the-standard and I understand the difference between JSRs 308 and 305. I also understand that at this time 308 is slated for Java 7, and 305 is not, but I am curious about the overall status of 305? Specifi...