Class JavaVersion

java.lang.Object
org.spongepowered.asm.util.JavaVersion

public abstract class JavaVersion
extends java.lang.Object
Small helper to resolve the current java version
  • Method Summary

    Modifier and Type Method Description
    static double current()
    Get the current java version, calculates if necessary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • current

      public static double current()
      Get the current java version, calculates if necessary