diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/src/main/java/org/aspectj/util/LangUtil.java | 4 |
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 a0535d389..8128174aa 100644 --- a/util/src/main/java/org/aspectj/util/LangUtil.java +++ b/util/src/main/java/org/aspectj/util/LangUtil.java @@ -186,6 +186,10 @@ public class LangUtil { return 16 <= vmVersion; } + public static boolean is17VMOrGreater() { + return 17 <= vmVersion; + } + /** * Shorthand for "if null, throw IllegalArgumentException" * |