Class UserAgentLangValues
java.lang.Object
software.amazon.awssdk.core.internal.useragent.UserAgentLangValues
-
Method Details
-
getAdditionalJvmLanguages
-
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
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
-