Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] @SuppressAjWarnings for aspectj syntax (ie, non @Aspect syntax)

I get warnings at two places. For the second, the suppress works. But not for the first.

public aspect EntityManagerFactoryBeanOptimizerAspect {

   @SuppressAjWarnings
   pointcut postProcessAnnotationConfiguration():
W execution(* AnnotationSessionFactoryBean+.postProcessAnnotationConfiguration(..))
       && target(EntityManagerFactoryBean);
@SuppressAjWarnings
W    void around(): ejb3ConfigurationConstructor()
   {
       // Prevent from initializing half the jboss server
   }

}


Back to the top