in chill-scala/src/main/scala/com/twitter/chill/KryoBase.scala [172:180]
def getConstructor[T](c: Class[T]): Constructor[T] =
try {
c.getConstructor()
} catch {
case _: Throwable =>
val cons = c.getDeclaredConstructor()
cons.setAccessible(true)
cons
}