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: [email protected]
For additional commands, e-mail: [email protected]