Converts a Scala Seq to a Java List, see scala.jdk.javaapi.CollectionConverters.asJava.
Seq
List
scala.jdk.javaapi.CollectionConverters.asJava