Class UserAgentLangValues


  • public final class UserAgentLangValues
    extends Object
    • Method Detail

      • getAdditionalJvmLanguages

        public static List<String> getAdditionalJvmLanguages()
      • scalaVersion

        public static String scalaVersion()
        Attempt to determine if Scala is on the classpath and if so what version is in use. Does this by looking for a known Scala class (scala.util.Properties) and then calling a static method on that class via reflection to determine the versionNumberString.
        Returns:
        Scala version if any, else empty string
      • kotlinVersion

        public static String kotlinVersion()
        Attempt to determine if Kotlin is on the classpath and if so what version is in use. Does this by looking for a known Kotlin class (kotlin.Unit) and then loading the Manifest from that class' JAR to determine the Kotlin version.
        Returns:
        Kotlin version if any, else empty string