aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/src/main/java/org/aspectj/util/LangUtil.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/src/main/java/org/aspectj/util/LangUtil.java b/util/src/main/java/org/aspectj/util/LangUtil.java
index 1f4ee65b4..a0535d389 100644
--- a/util/src/main/java/org/aspectj/util/LangUtil.java
+++ b/util/src/main/java/org/aspectj/util/LangUtil.java
@@ -182,6 +182,10 @@ public class LangUtil {
return 15 <= vmVersion;
}
+ public static boolean is16VMOrGreater() {
+ return 16 <= vmVersion;
+ }
+
/**
* Shorthand for "if null, throw IllegalArgumentException"
*