Re: Tapestry decorator with marker

2018-09-04 Thread Thiago H. de Paula Figueiredo
On Tue, Sep 4, 2018 at 11:29 AM Labhesh Ramchandani < labhesh.ramchand...@aqr.com> wrote: > > I use 5.4.1 > Just change to 5.4.3. There's absolutely no reason to do that. > However; using the advisor's built in method solves my problem of putting > @TimeIt on the function implementation...as th

RE: Tapestry decorator with marker

2018-09-04 Thread Labhesh Ramchandani
I use 5.4.1 However; using the advisor's built in method solves my problem of putting @TimeIt on the function implementation...as this: for(Method m: receiver.getInterface().getMethods()) { if (receiver.getMethodAnnotation(m, TimeIt.class) != null) { receiver.adviseMethod(m, a

Re: Tapestry decorator with marker

2018-09-04 Thread Thiago H. de Paula Figueiredo
On Mon, Sep 3, 2018 at 10:12 PM Labhesh Ramchandani < labhesh.ramchand...@aqr.com> wrote: > Thanks, Thiago.. I switched to use the "Advisor" solution instead of > creating my own decorator... > You're welcome! > Here's what I have so far: > > @Advise > @TimeIt > public static void adviseT