Package com.google.gerrit.common
Class RuntimeVersion
- java.lang.Object
- 
- com.google.gerrit.common.RuntimeVersion
 
- 
 public final class RuntimeVersion extends Object JDK version string utilities.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisAtLeast17()Returns true if the current runtime is JDK 17 or newer.static booleanisAtLeast18()Returns true if the current runtime is JDK 18 or newer.
 
-