// Source File Name: PerCFlowCompileFromJarTest.java package org.aspectj.testcases; import org.aspectj.runtime.internal.CFlowStack; // Referenced classes of package org.aspectj.testcases: // PerCFlowCompileFromJar public class MyTestPerCFlowEntryPoint extends PerCFlowCompileFromJar { MyTestPerCFlowEntryPoint() { } public static MyTestPerCFlowEntryPoint aspectOf() { return (MyTestPerCFlowEntryPoint)ajc$perCflowStack.peekInstance(); } public static boolean hasAspect() { return ajc$perCflowStack.isValid(); } public static void ajc$perCflowPush() { ajc$perCflowStack.pushInstance(new MyTestPerCFlowEntryPoint()); } private static void ajc$preClinit() { ajc$cflowStack$2 = new CFlowStack(); ajc$cflowStack$0 = new CFlowStack(); ajc$perCflowStack = new CFlowStack(); } public static final CFlowStack ajc$perCflowStack; public static final CFlowStack ajc$cflowStack$0; public static final CFlowStack ajc$cflowStack$2; static { ajc$preClinit(); } } ---------------------------------------------------------------------------------------- // 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 { byte byte0; byte0 = 0; if(!MyTestPerCFlowEntryPoint.ajc$cflowStack$0.isValid()) { byte0 = 1; MyTestPerCFlowEntryPoint.ajc$perCflowPush(); } Object aobj1[] = new Object[0]; MyTestPerCFlowEntryPoint.ajc$cflowStack$2.push(aobj1); Object aobj[] = new Object[0]; MyTestPerCFlowEntryPoint.ajc$cflowStack$0.push(aobj); break MISSING_BLOCK_LABEL_60; Throwable throwable; throwable; MyTestPerCFlowEntryPoint.ajc$cflowStack$0.pop(); throw throwable; MyTestPerCFlowEntryPoint.ajc$cflowStack$0.pop(); break MISSING_BLOCK_LABEL_80; Throwable throwable1; throwable1; MyTestPerCFlowEntryPoint.ajc$cflowStack$2.pop(); throw throwable1; MyTestPerCFlowEntryPoint.ajc$cflowStack$2.pop(); break MISSING_BLOCK_LABEL_115; Throwable throwable2; throwable2; if(MyTestPerCFlowEntryPoint.hasAspect() && !MyTestPerCFlowEntryPoint.ajc$cflowStack$2.isValid()) MyTestPerCFlowEntryPoint.aspectOf().ajc$after$org_aspectj_testcases_PerCFlowCompileFromJar$119(); throw throwable2; if(MyTestPerCFlowEntryPoint.hasAspect() && !MyTestPerCFlowEntryPoint.ajc$cflowStack$2.isValid()) MyTestPerCFlowEntryPoint.aspectOf().ajc$after$org_aspectj_testcases_PerCFlowCompileFromJar$119(); break MISSING_BLOCK_LABEL_155; Throwable throwable3; throwable3; if(byte0 != 0) MyTestPerCFlowEntryPoint.ajc$perCflowStack.pop(); throw throwable3; if(byte0 != 0) MyTestPerCFlowEntryPoint.ajc$perCflowStack.pop(); 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; }