[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] Can the within pointcut primitive statically matchderived types?
|
Hi Neil,
MyInterface+ should match those too. The plus means any subtype of the type
and so it will match:
* any interface that extends MyInterface
* any class that implements MyInterface directly or through inheritance
* any aspect that implements MyInterface directly or through inheritance
See also "Subtype patterns" in
http://www.eclipse.org/aspectj/doc/released/progguide/semantics-pointcuts.ht
ml#type-patterns
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Neil Redding
Sent: Tuesday, August 22, 2006 6:51 AM
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] Can the within pointcut primitive statically
matchderived types?
Hi all,
I'm using "within(MyInterface+)" to match joinpoints within classes that
implement MyInterface. However, I'd like to extend this to match
joinpoints in classes derived from classes that implement MyInterface -
but I don't see a way to do this.
Any ideas?
Thanks,
Neil
------------
Neil Redding
Director
Lab49, Inc.
Phone: 646.291.2868
Email: nredding@xxxxxxxxx
Web : www.lab49.com
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users