Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] [Newbie]Constructor Pointcut

See Ron DiFrango's last post :-)

You want call(MyClass+.new(..))

-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Tim Kettler
Sent: Thursday, April 06, 2006 12:52 PM
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] [Newbie]Constructor Pointcut

Hi,

with 'call(*.new(..))' I match all constructors, with
'call(MyClass.new(..))' I match all 
constructors of the given class. What I want is to match all constructors of
a class 
hierarchy like MyClass, MyClassSubclassA, MyClassSubclassB. I found nothing
about how to 
do somthing like this in the docs.

Any help appreciated
-Tim
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top