Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Can I add in my aspect file if else conditions before pointcut's or declare

Hello all
Well i can't compile the aspect files if I trying to add something like 

Boolean isAdd = true

If(isAdd){
pointcut aspectCheckAccess():execution(public * *(..));
}

Can I do something equivalent in the aspectJ syntax? 

Thanks 


Back to the top