// Source File Name: PerCFlowCompileFromJarTest.java package org.aspectj.testcases; import org.aspectj.lang.NoAspectBoundException; import org.aspectj.runtime.internal.CFlowStack; // Referenced classes of package org.aspectj.testcases: // PerCFlowCompileFromJar public class MyTestPerCFlowEntryPoint extends PerCFlowCompileFromJar { MyTestPerCFlowEntryPoint() { } public static MyTestPerCFlowEntryPoint aspectOf() { ajc$perSingletonInstance; if(ajc$perSingletonInstance == null) goto _L2; else goto _L1 _L1: return; _L2: throw new NoAspectBoundException(); } public static boolean hasAspect() { return ajc$perSingletonInstance != null; } private static void ajc$postClinit() { ajc$perSingletonInstance = new MyTestPerCFlowEntryPoint(); } static void ajc$preClinit() { ajc$cflowStack$0 = new CFlowStack(); } public static final MyTestPerCFlowEntryPoint ajc$perSingletonInstance; public static final CFlowStack ajc$cflowStack$0; static { ajc$preClinit(); ajc$postClinit(); } } ---------------------------------------------------------------------------------------- // Source File Name: PerCFlowCompileFromJarTest.java package org.aspectj.testcases; import org.aspectj.runtime.internal.CFlowStack; // Referenced classes of package org.aspectj.testcases: // MyTestPerCFlowEntryPoint, PerCFlowCompileFromJar class PerCFlowTestHelper { PerCFlowTestHelper() { } public void startNewPerCFlow() throws Exception { Object aobj[] = new Object[0]; MyTestPerCFlowEntryPoint.ajc$cflowStack$0.push(aobj); break MISSING_BLOCK_LABEL_25; Throwable throwable; throwable; MyTestPerCFlowEntryPoint.ajc$cflowStack$0.pop(); throw throwable; MyTestPerCFlowEntryPoint.ajc$cflowStack$0.pop(); break MISSING_BLOCK_LABEL_54; Throwable throwable1; throwable1; if(!MyTestPerCFlowEntryPoint.ajc$cflowStack$0.isValid()) MyTestPerCFlowEntryPoint.aspectOf().ajc$after$org_aspectj_testcases_PerCFlowCompileFromJar$119(); throw throwable1; if(!MyTestPerCFlowEntryPoint.ajc$cflowStack$0.isValid()) MyTestPerCFlowEntryPoint.aspectOf().ajc$after$org_aspectj_testcases_PerCFlowCompileFromJar$119(); return; } } ---------------------------------------------------------------------------------------- // Source File Name: PerCFlowCompileFromJar.java package org.aspectj.testcases; public abstract class PerCFlowCompileFromJar { public PerCFlowCompileFromJar() { thisAspectInstanceIsDead = false; } public void ajc$after$org_aspectj_testcases_PerCFlowCompileFromJar$119() { killThisAspectInstance(); } protected void killThisAspectInstance() { if(thisAspectInstanceIsDead) { throw new IllegalStateException("This aspect instance has been used and can't be used again."); } else { thisAspectInstanceIsDead = true; return; } } private boolean thisAspectInstanceIsDead; }