]> source.dussan.org Git - aspectj.git/commitdiff
API for Compiler to reuse command
authorwisberg <wisberg>
Wed, 7 May 2003 04:00:37 +0000 (04:00 +0000)
committerwisberg <wisberg>
Wed, 7 May 2003 04:00:37 +0000 (04:00 +0000)
testing/src/org/aspectj/testing/harness/bridge/Sandbox.java

index 2bfb8e63b46ffff0137eb127b18e26e5776b64d8..0e0113fc36607c6413769998e91c26bdbfcbd826 100644 (file)
@@ -294,6 +294,12 @@ public class Sandbox {
 //        diffs.report(handler, IMessage.ERROR);
 //    }
     
+    ICommand getCommand(CompilerRun caller) {
+        LangUtil.throwIaxIfNull(caller, "caller");
+        assertState(null != command, "command never set"); 
+        return command;
+    }
+
     ICommand getCommand(IncCompilerRun caller) {
         LangUtil.throwIaxIfNull(caller, "caller");
         assertState(null != command, "command never set");