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*()) {
}
*/
}
>
blob: 0a5f026bc9fa057db2414ec536e74fddfb95caf5 (
plain)