users@jsr311.java.net

Re: MessageBodyWriter and annotations

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Mon, 30 Jun 2008 17:31:19 +0200

Hi Marc,
>> I think ever the ones of the resource method -> @AnnotationA. Perhaps
>> it is not clear enough.
> Annotations from the type returned, not the method returning the type.
Why should the runtime inject the annotations of the class? The class is
available, so the runtime is not required to inject them. If this is
meant, we could IMO remove the Annotation[] parameter.

best regards
   Stephan