1 2 3 4 5 6 7 8 9 10
import org.aspectj.lang.annotation.*; public aspect Bug2 { pointcut pc(int i): args(i) && if(i<0); before(): pc(*) { } public void trigger(int i) {} }