On Wed, Mar 17, 2010 at 9:19 AM, Simone Gianni
<simoneg@xxxxxxxxxx> wrote:
Very very nice!!!
Simone
2010/3/13 Andy Clement
<andrew.clement@xxxxxxxxx>
This idea of mirroring the API usage is mentioned in bug 48080 (see
the first comment by Jim). I have just committed the following
support:
declare warning: execution(* A.m(..)): "joinpoint location is
{joinpoint.sourcelocation.sourcefile}:{joinpoint.sourcelocation.line}";
declare warning: execution(* A.m(..)): "joinpoint is {joinpoint}";
declare warning: execution(* A.m(..)): "joinpoint kind is '{joinpoint.kind}'";
declare warning: execution(* A.m(..)): "joinpoint line is
'{joinpoint.sourcelocation.line}'";
declare warning: get(int *) && within(A): "joinpoint signature is
{joinpoint.signature}";
declare warning: execution(* A.m(..)): "joinpoint declaring type is
{joinpoint.signature.declaringType}";
declare warning: execution(* A.m(..)): "advice sourcelocation is
{advice.sourcelocation.sourcefile}:{advice.sourcelocation.line}";
declare warning: get(int *): "aspect is {advice.aspecttype}";
declare warning: get(int *): "signature name for field is
{joinpoint.signature.name}";
declare warning: execution(* A.m(..)): "signature name for method is
{joinpoint.signature.name}";
Andy
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users