From: aclement Date: Wed, 30 Nov 2005 12:09:29 +0000 (+0000) Subject: helper method for determining target ajruntime X-Git-Tag: V1_5_0RC1~79 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c88e6bc262b9ec81625c28071989cc59862cf5e4;p=aspectj.git helper method for determining target ajruntime --- 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