Is there a way to tell whether a class was implemented in Scala?
I'm building on a serialization system for the JVM that deals extensively with reflection. Java classes are already handled but the method is inadequate for Scala classes (for example, in Scala List[Int] turns into List[Object] in Java's reflection system, but this lost information is recoverable with scala's reflection). It like a switch to say whether I should perform scala-specific handling of a class.
ScalaObject
(scala-lang.org/api/2.10.4/index.html#scala.ScalaObject). – Gábor Bakos