[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-users] A very simple question
|
- From: Jhst463@xxxxxxx
- Date: Fri, 10 Sep 2004 00:31:25 EDT
- Delivered-to: aspectj-users@eclipse.org
Hello, I'm very new to AspectJ, and I have a very simple question:
How do I get a reference to the object my pointcut is weaving into?
For example:
pointcut p() : execution(public void com.Foo.doThis(..));
after() : p() {
// this where I need the instance of Foo specified by p()
}
I tried using thisJoinPoint.getTarget() but I get errors. Using v1.1 I got
one type of error and for v1.2 I got another.