Community
Participate
Working Groups
The @AspectJ syntax requires that pointcuts specify fully-qualified names since import statements aren't retained in byte code. However, this causes long, difficult to read pointcuts. It will be nice if AspectJ can provide an alternative "import" model similar to shown below: @Aspect @Import({"org.springframework.transaction", "com.springsource.insight"}) public class MyAspect { // PlatformTransactionManager and TransactionStatus resolved against // packages in @Import @Poitncut("execution(* PlatformTransactionManager.*(TransactionStatus))") public void tx() {} ... } See http://jira.springframework.org/browse/SPR-5992 for a Spring issue, which will also benefit from this enhancement.
partially discussed already as bug 126560