Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Introducing AspectJ 5

the sentence means that the "statusMethods" method here is returning
void - which it indeed is.

Alex

On 8/3/05, mohan.radhakrishnan@xxxxxxxxxxxxx
<mohan.radhakrishnan@xxxxxxxxxxxxx> wrote:
>  
> Hi, 
>       This article about AspectJ 5 has this to say. 
>          "Pointcuts are written using the @Pointcut annotation on a void
> method with the same signature as the pointcut." 
>   
> This is only if the pointcut is not using annotations. Is that right ? 
>   
> This code works. 
>   
> @Pointcut("execution(@com.blueprint.util.annotation.StatusShow
> * *..*(..))")
>     void statusMethods(){}; 
>   
>  @Before("statusMethods()")
>  public void before( final JoinPoint jp ) {
>     ------------ 
>  }
>  
>   
> Thanks, 
> Mohan
> 
> 
> 
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited. 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 
>


Back to the top