I want to declare an error on non abstract classes of type Cluster without a specific annotation.
I cannot write something like this: within([EMAIL PROTECTED] !abstract 
Cluster+);

How can i do this?




I'm using this code:

...
   pointcut clusterWithoutDAOAnno():
       execution(* *(..)) &&
       within([EMAIL PROTECTED] Cluster+);
declare error: clusterWithoutDAOAnno():
       "please use @DaoLink Annotation for Cluster Objects";

...
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to