class A { fun foo(o: Any) { System.out.println(o.javaClass) System.out.println(javaClass) } }