dev@jersey.java.net

Re: removal of _at_SubResource

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 13 Jul 2007 08:24:29 +0200

Peter Liu wrote:
>> True, but the code ain't complex for tooling support:
>>
>> for (Method m : clazz.getMethods())
>> if (m.isAnnotationPresent(HttpMethod.class) ||
>> m.isAnnotationPresent(UriTemplate.class)) return true;
>> return false;
>>
>>
> For us, it is a bit more complicated since we are working with source
> files and we have to use our complicated
> Retouche java source api :-)

Ah i see, :-( so you are not using the one in SE 6? Even so, what one
often needs is an XPath-like query over ASTs.


> I agree your suggestion in the other reply regarding showing this
> graphically using nodes. Other people have asked for this and we
> haven't had the time to implement it. I guess this would be the impetus
> for us to implement it.

OK, although I suspect it is a fair bit of work...

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109