Hi Jennie,

You can get the static subset of information about the join point using
thisEnclosingJoinPointStaticPart. That can be used to find the signature of
the method. This will find join points like the execution that encloses a
call join point. However, they won't report on an "enclosing" call join
point for execution: the notion of enclosure is lexical, not dynamic.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jennie
Sent: Tuesday, March 13, 2007 3:14 PM
To: [email protected]
Subject: [aspectj-users] Get enclosing method signature of a join point

Hi there,

Is there way to get the enclosing method signature of
a particular join point? For example, for

class A{

   public void foo(){
       System.out.println("Testing");
   }
}

If there is a join point at the method call
"System.out.println()", can I figure out that the
enclosing method is foo() during weave time?  

Thanks in advance.


 
____________________________________________________________________________
________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to