Package com.google.gson.internal
Class JavaVersion
- java.lang.Object
-
- com.google.gson.internal.JavaVersion
-
public final class JavaVersion extends Object
Utility to check the major Java version of the current JVM.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getMajorJavaVersion()
static boolean
isJava9OrLater()
-