(Dormant JSR) Annotations for Software Defect Detection
Questions tagged [jsr305]
34 questions
0
votes
1 answer
Java. JPA. @Entity class property with @org.jetbrains.annotations.NotNull
If DB schema forbids certain table columns to hold null is there a way to mark corresponding entity class property with @org.jetbrains.annotations.NotNull (or any other JSR-305 compliant annotation) to provide more information for nullity inference…

yaromir
- 378
- 7
- 17
0
votes
1 answer
How to separate key common class for entities using JPA and Hibernate?
I have common properties for my Entity classes.
They have to have Id - sequence long number
Date createdDate which shows when a tuple of the entity is added to the DB and Date lastModifiedDate property which shows when was done the last…

Xelian
- 16,680
- 25
- 99
- 152
0
votes
1 answer
@Nonnull behavior different for Eclipse Juno and Kepler?
I'm running into a rather odd scenario that I've so far managed to pinpoint to differing versions of Eclipse. I'm wondering if someone could tell me what exactly the issue is (Juno doesn't support, it, Kepler provides better support, etc). I'm using…

Otra
- 8,108
- 3
- 34
- 49
0
votes
3 answers
Can JSR 305 annotations be used with code that will run on Android?
Can a JSR 305 annotation like javax.annotation.Nonnull be used in code that will run on Android ? It does not look like the Dalvik VM is supporting the package and those annotations have a runtime retention policy. Has anyone got it working using…

Christophe Roussy
- 16,299
- 4
- 85
- 85