[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] How to write pointcut
|
Sorry I made a typo in my email.
// Doesn't work
@Pointcut("call(* java.sql.Statement+.execute*(..)) && @within(com.xyz.Profiling * *(..)) ")
Eric, you suggestion didn't even compile.
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Eric Bodden
Sent: Wednesday, January 23, 2008 4:28 PM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] How to write pointcut
> @Pointcut("call(* java.sql.Statement+.execute*(..)) &&
> @within(@com.xyz.Profiling * *(..)) ")
>
> public void profileJDBCExecute() {
>
> }
Don't you have to write "within" instead of "@within"? Maybe that's it.
Eric
--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users