import org.aspectj.internal.lang.annotation.ajcPrivileged; import org.aspectj.lang.NoAspectBoundException; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; @Aspect @ajcPrivileged public class A { static final int MAX = 1000; public static A aspectOf() { if (ajc$perSingletonInstance == null) { throw new NoAspectBoundException("test_A", ajc$initFailureCause); } return ajc$perSingletonInstance; } public static boolean hasAspect() { return ajc$perSingletonInstance != null; } static { try { } catch (Throwable localThrowable) { ajc$initFailureCause = localThrowable; } } @Before(value="(execution(void C.incI(int)) && (target(c) && args(x)))", argNames="x,c") public void ajc$before$test_A$1$74272596(int x, C c) { if (C.ajc$get$i(c) + x > 1000) { throw new RuntimeException(); } } }