On 18/03/2009, Stephen Colebourne <scolebou...@btopenworld.com> wrote: > sebb wrote: > > > I've added JCIP annotations jar to the POM, but not started adding any > > actual annotations yet. > > > > The idea would be to annotate every class as one of > > > > @Immutable > > @ThreadSafe > > @NotThreadSafe > > > > These annotation appear in the Javadoc output in the class description. > > > > Also, for objects that need synchronization to ensure thread safety, > > add the annotation > > > > @GuardedBy > > > > Are there any objections to proceeding with this? > > > > I think that there is the distinct possibility of other groups including > these annotatons. Maybe even JDK7. Should [lang] include them. Or use > slightly different names?
Not sure I follow. These are existing annotations, from http://jcip.net/: http://jcip.net/annotations/doc/index.html [Sorry, I forgot to reference my original posting to the LANG thread: http://www.nabble.com/Re%3A--lang--3.0%2C-what%27s-in--what%27s-out-p22511906.html ] The Findbugs project ships with a copy, but the original copy is Creative Commons rather than LGPL. > Stephen > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org