[Standard Library] Take the javaClass deprecation back as its replacement is often inconvenient.

This commit is contained in:
Ilya Gorbunov
2017-02-20 16:17:23 +03:00
parent d124912c91
commit 5867d27fb7
3 changed files with 0 additions and 3 deletions
@@ -92,7 +92,6 @@ public val <T : Any> Class<T>.kotlin: KClass<T>
/**
* Returns the runtime Java class of this object.
*/
@Deprecated("Use 'instance::class.java' instead to get java class of the instance.", ReplaceWith("this::class.java"))
public inline val <T: Any> T.javaClass : Class<T>
@Suppress("UsePropertyAccessSyntax")
get() = (this as java.lang.Object).getClass() as Class<T>