[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[aspectj-users] How may I match join points in these patterns?
|
- From: Sunny <sunfire001@xxxxxxxxx>
- Date: Wed, 29 Mar 2006 21:41:43 -0500
- Delivered-to: aspectj-users@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=UHxtlUdLgieIYgFbtr8ai2f4/QeM/XXaIdlXG5bR5+b5HptobQ7ejycloruhNYqfs5J6CqWVV9d8xFbJTq2CUmqiqlw3Q9cUurLARerynXcbo+twM3Xa6sPw1UAjfWrjqel7Q5xhLwXJMrY8bShLLL4ZGmeMjyX1INYyQ7SncK8=
Dear All,
How may I match join points in the following two patterns?
1. when an object is created and immediately returned to the caller:
public ClassA m1()
{
return ( new ClassA() );
}
2. when an object is created and immediately passed to another context through a method call:
objectA.m( new B(), arg1, arg2, ... );
Thanks very much!
Sunny