Move .java and .kotlin extension properties to kotlin.jvm

Delete the old ones in package kotlin.reflect.jvm because otherwise the code
using those functions will become red in a lot less meaningful way (overload
resolution ambiguity) than if they're deleted (unresolved import)

Based on the work originally done by @dnpetrov

 #KT-8380 Fixed
This commit is contained in:
Alexander Udalov
2015-08-26 16:21:47 +03:00
parent b8badd59ba
commit 8d9618348d
32 changed files with 155 additions and 50 deletions

View File

@@ -1,5 +1,4 @@
import java.lang.reflect.Method
import kotlin.reflect.jvm.java
import kotlin.test.assertEquals
annotation(retention = AnnotationRetention.RUNTIME) class Ann(val x: String)

View File

@@ -1,5 +1,4 @@
import java.lang.reflect.Method
import kotlin.reflect.jvm.java
import kotlin.test.assertEquals
target(AnnotationTarget.EXPRESSION)