Re: JSR311: _at_Target of FIELD for _at_*Param annotations

From: Stephan Koops <>
Date: Mon, 10 Mar 2008 16:08:16 +0100

>>>>> What I want to avoid is using the annotations defined in JSR 311
>>>>> in places not covered by the spec because that could be quite
>>>>> confusing for developers. I'm less worried about a meta-annotation
>>>>> since those are generally hidden from developers.
>> I think it will confusing developers, if they can't use @*Param on
>> instance variables, especially @HeaderParam and @CookieParam, and
>> also @PathParam, if the matched variable value wath matched in @Path
>> of a root resource class. As a developer I would wonder, why this
>> isn't defined. That's what we are talking about.
> I think it would be much more confusing if the same annotations worked
> in some places in some implementations and not in others.
And because of that we should define, it works everywhere. (see also my
email 15 or 20 minutes ago)