1234567891011121314151617181920212223242526272829 |
-
- public aspect AspectToMatch {
-
- //declare parents : ((@Entity *) && !hasmethod(@SearchAnnotation public * get*()) && !hasfield(@SearchAnnotations * *)) implements InterfaceToAdd;
- declare parents : ((@Entity *) && !hasmethod(@SearchAnnotation public * get*()) &&
- !hasfield(@SearchAnnotation * *)) implements InterfaceToAdd;
-
- /*
- declare warning :
- staticinitialization(
- !hasmethod(* getMamma())
- ) : "Not found";
- */
- /*
- before() : handler(
- (@Entity *) && !(hasmethod(@SearchAnnotation public * get*())) && !(hasfield(@SearchAnnotations * *))
- ) {
-
-
- }
- */
-
- /*
- before() : execution(!@(org.aspectj.bug*) public * get*()) {
-
- }
- */
-
- }
|