Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] mixing syntax doubt

Hi,
        I am using AspectJ 5 and eclipse 3.1. Can I use syntax like this ?
 
@Aspect("perJVM")
public class GridToggleAspect{
 
 pointcut inCommand(Command cmd) :                  1)
  this(cmd) && execution(* Command.execute());    2)
 

 @Pointcut("this(cmd) && execution(* Command.execute())")
 void commandExecution(){};
 
}
 
Eclipse shows red lines at 1) and 2).
 
 
Thanks,
Mohan

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


Back to the top