I always wondered why this information wasn't available (param names)...
Marc Hadley wrote:
> https://jsr311.dev.java.net/issues/show_bug.cgi?id=44
>
> Should we make the value of @*Param annotations optional when used with
> fields and bean properties. E.g. should:
>
> @QueryParam String foo;
>
> be equivalent to:
>
> @QueryParam("foo") String foo;
>
> Unfortunately this won't work on method parameters since their names are
> not preserved in class files.
>
> Seems like a reasonable shortcut to me but, as I haven't found
> specifying the value particularly irksome so far, I don't have a strong
> opinion either way.
>
> Opinions ?
>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com