true

Andy


On 8 October 2013 11:59, Matthew Adams <matt...@matthewadams.me> wrote:

> It looks like static pointcuts cannot be imported statically.  True?
>
> package app.util;
>
> public final aspect Bool {
>
>   public static final pointcut true_(): within(*);
>
>   public static final pointcut false_(): !true_();
>
> }
> =====
>
> package app.scratch;
>
> import static app.util.Bool.true_; // :(
>
> public aspect Test {
>
>   public pointcut warn(): true_(); // :(
>
> }
> --
> mailto:matt...@matthewadams.me <matt...@matthewadams.me>
> skype:matthewadams12
> googletalk:matt...@matthewadams.me
> http://matthewadams.me
> http://www.linkedin.com/in/matthewadams
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to