io.altoo.serialization.kryo.scala.ReflectionHelper.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-kryo-serialization_2.12 Show documentation
Show all versions of scala-kryo-serialization_2.12 Show documentation
pekko-serialization implementation using kryo - core implementation
The newest version!
package io.altoo.serialization.kryo.scala
import scala.util.Try
object ReflectionHelper {
def getClassFor(fqcn: String, classLoader: ClassLoader): Try[Class[? <: AnyRef]] =
Try[Class[? <: AnyRef]] {
Class.forName(fqcn, false, classLoader).asInstanceOf[Class[? <: AnyRef]]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy