| Re: [aspectj-users] How do i apply a pointcut to only an object which implements an interface or is of type X.class or subclass |
> public pointcut PT_new() :Try this instead:
>
> within(com.foo.BarInterface) &&
> call(*.new(..));
>
'+' means to include subclasses.
public pointcut PT_new() :
within(com.foo.BarInterface+) &&
call(*.new(..));
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users