hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dillon <m...@embody.org>
Subject Re: JCIP annotations
Date Wed, 18 Mar 2009 03:20:21 GMT
begin sebb quotation:
> I've done most (perhaps all) of the HttpClient immutable classes, and
> a few of the ones that are thread-safe (e.g. because access to mutable
> objects is synchronized).
> 
> [Findbugs seems to work reasonably well with @Immutable, but AFAIK it
> does not process @GuardedBy (yet).]
> 
> Ideally, each class should have one of @Immutable, @ThreadSafe or
> @NotThreadSafe eventually.
> 
> The class annotations are themselves tagged as @Documented, so they
> appear in the class Javadoc, which is very useful.
> 
> @GuardedBy is not tagged as @Documented, but is mainly for internal use.

The Annotations section of the Findbugs Manual lists @GuardedBy. Are you
sure it doesn't work?

    http://findbugs.sourceforge.net/manual/annotations.html

-md

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message