Thanks Ron, this works. Not clear from the docs that it should work, but it does.
Cheers, Neil > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ron Bodkin > Sent: Tuesday, August 22, 2006 10:00 AM > To: [email protected] > Subject: RE: [aspectj-users] Can the within pointcut > primitive staticallymatchderived types? > > Hi Neil, > > MyInterface+ should match those too. The plus means any > subtype of the > MyInterface+ 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/semantic > s-pointcuts.ht > ml#type-patterns > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Neil Redding > Sent: Tuesday, August 22, 2006 6:51 AM > To: [email protected] > 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: [EMAIL PROTECTED] > Web : www.lab49.com > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
