private final class getClassDeco [ T ]
extends AnyVal

Dotty deviation: getClass yields Class[_], instead of [Class <: ]. We can get back the old behavior using this decorator. We should also use the same trick for standard getClass.

Constructors

getClassDeco ( x: T )

Members

[+] val x : T
[+] def getClazz : Class [ Nothing <: T ]