logo       

Can I add in my aspect file if else conditions before pointcut's or declare: msg#01255

Subject: 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 


<Prev in Thread] Current Thread [Next in Thread>