diff options
author | wisberg <wisberg> | 2003-05-07 04:00:37 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-05-07 04:00:37 +0000 |
commit | cc55e31fd1a9322318ebd95f9f8c5899ca9175c4 (patch) | |
tree | 12127beb511cf0c5793b144c567a57b64801c52b | |
parent | b6948c529f5de1deb4319c3c3efe91a8bb8d81d0 (diff) | |
download | aspectj-cc55e31fd1a9322318ebd95f9f8c5899ca9175c4.tar.gz aspectj-cc55e31fd1a9322318ebd95f9f8c5899ca9175c4.zip |
API for Compiler to reuse command
-rw-r--r-- | testing/src/org/aspectj/testing/harness/bridge/Sandbox.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java b/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java index 2bfb8e63b..0e0113fc3 100644 --- a/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java +++ b/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java @@ -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"); |