You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AspectToMatch.aj 676B

1234567891011121314151617181920212223242526272829
  1. public aspect AspectToMatch {
  2. //declare parents : ((@Entity *) && !hasmethod(@SearchAnnotation public * get*()) && !hasfield(@SearchAnnotations * *)) implements InterfaceToAdd;
  3. declare parents : ((@Entity *) && !hasmethod(@SearchAnnotation public * get*()) &&
  4. !hasfield(@SearchAnnotation * *)) implements InterfaceToAdd;
  5. /*
  6. declare warning :
  7. staticinitialization(
  8. !hasmethod(* getMamma())
  9. ) : "Not found";
  10. */
  11. /*
  12. before() : handler(
  13. (@Entity *) && !(hasmethod(@SearchAnnotation public * get*())) && !(hasfield(@SearchAnnotations * *))
  14. ) {
  15. }
  16. */
  17. /*
  18. before() : execution(!@(org.aspectj.bug*) public * get*()) {
  19. }
  20. */
  21. }