summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-30 12:09:29 +0000
committeraclement <aclement>2005-11-30 12:09:29 +0000
commitc88e6bc262b9ec81625c28071989cc59862cf5e4 (patch)
tree80dfebd6c6c2611d22b9f7fe7be06a3cff76d6ec
parentd3802ca83f41c29775de2fecb3a9a8a3bcba8f4c (diff)
downloadaspectj-c88e6bc262b9ec81625c28071989cc59862cf5e4.tar.gz
aspectj-c88e6bc262b9ec81625c28071989cc59862cf5e4.zip
helper method for determining target ajruntime
-rw-r--r--weaver/src/org/aspectj/weaver/World.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/World.java b/weaver/src/org/aspectj/weaver/World.java
index 3f1bd7faf..5101d7641 100644
--- a/weaver/src/org/aspectj/weaver/World.java
+++ b/weaver/src/org/aspectj/weaver/World.java
@@ -655,6 +655,10 @@ public abstract class World implements Dump.INode {
return targetAspectjRuntimeLevel;
}
+ public boolean isTargettingAspectJRuntime12() {
+ return getTargetAspectjRuntimeLevel().equals(org.aspectj.weaver.Constants.RUNTIME_LEVEL_12);
+ }
+
/*
* Map of types in the world, with soft links to expendable ones.
* An expendable type is a reference type that is not exposed to the weaver (ie