Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] import static for pointcuts?

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:matthew@xxxxxxxxxxxxxxx 

Back to the top