[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] [newbie] inlining advices, inserting code in each pointcut occurence



No, ajc does not support such an option. It would also break modularity
because advice runs in the context of the aspect that declares it i.e. it
can access private fields and methods. Inlining is best left to JIT
compilers.

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/

Pawel List <pawel.list@xxxxxxxxx>@eclipse.org on 01/03/2005 14:34:19

Please respond to aspectj-users@xxxxxxxxxxx

Sent by:    aspectj-users-admin@xxxxxxxxxxx


To:    aspectj-users@xxxxxxxxxxx
cc:
Subject:    Re: [aspectj-users] [newbie] inlining advices, inserting code
       in each pointcut occurence


thanks for that, but what if I would need this kind of hard inlining
(even if it that means the need of rewovening)? is it possible to
point the ajc to do so?


On Mon, 31 Jan 2005 14:41:52 +0000, Matthew Webster
<matthew_webster@xxxxxxxxxx> wrote:
>
>
> This was not a statement about AJDT rather aspects and affected classes
> deployed in the field. Requiring every class that has been woven with a
> particular aspect to be rewoven when only a small change is made is
> unacceptable. This is one reason why (in most cases) advice is not
inlined.
>
> Matthew Webster
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users