Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] How may I match join points in these patterns?

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
 
 

Back to the top