Bug 419031

Summary: Support static imports of pointcuts
Product: [Tools] AspectJ Reporter: Matthew Adams <matthew>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.7.4   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Matthew Adams CLA 2013-10-09 09:44:21 EDT
Support the ability to statically import a pointcut.

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_();
}