diff --git a/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt b/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt index 523c068304c..17016fd88b0 100644 --- a/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt +++ b/compiler/testData/codegen/box/callableReference/bound/equals/propertyAccessors.kt @@ -3,7 +3,8 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.KMutableProperty1 +import kotlin.reflect.full.* class C { var prop = 42 diff --git a/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt b/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt index 629d652a499..b0e6ca50b37 100644 --- a/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt +++ b/compiler/testData/codegen/box/callableReference/bound/equals/reflectionReference.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* class C { fun foo() {} diff --git a/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt b/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt index 24c0e05c6c2..747a184b0b2 100644 --- a/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt +++ b/compiler/testData/codegen/box/delegatedProperty/privateSetterKPropertyIsNotMutable.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* object Delegate { diff --git a/compiler/testData/codegen/box/reflection/call/callPrivateJavaMethod.kt b/compiler/testData/codegen/box/reflection/call/callPrivateJavaMethod.kt index 1d2c454b234..886689a585d 100644 --- a/compiler/testData/codegen/box/reflection/call/callPrivateJavaMethod.kt +++ b/compiler/testData/codegen/box/reflection/call/callPrivateJavaMethod.kt @@ -18,7 +18,7 @@ public class J { // FILE: K.kt -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* import kotlin.test.* diff --git a/compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt b/compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt index 3463a49c85a..c9c3d77f4ce 100644 --- a/compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt +++ b/compiler/testData/codegen/box/reflection/call/disallowNullValueForNotNullField.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* class A { diff --git a/compiler/testData/codegen/box/reflection/call/privateProperty.kt b/compiler/testData/codegen/box/reflection/call/privateProperty.kt index f53b15d43d2..a9dcc40ebfb 100644 --- a/compiler/testData/codegen/box/reflection/call/privateProperty.kt +++ b/compiler/testData/codegen/box/reflection/call/privateProperty.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* import kotlin.test.* diff --git a/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt b/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt index 3fd5a3d25e0..c52ee4617e8 100644 --- a/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt +++ b/compiler/testData/codegen/box/reflection/call/propertyAccessors.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals val p0 = 1 diff --git a/compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt b/compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt index 5c089543230..1c9b4f4dbf1 100644 --- a/compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt +++ b/compiler/testData/codegen/box/reflection/callBy/privateMemberFunction.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.IllegalCallableAccessException +import kotlin.reflect.full.IllegalCallableAccessException import kotlin.reflect.jvm.isAccessible class A { diff --git a/compiler/testData/codegen/box/reflection/classes/companionObject.kt b/compiler/testData/codegen/box/reflection/classes/companionObject.kt index a3f3b46210f..b8e0c301107 100644 --- a/compiler/testData/codegen/box/reflection/classes/companionObject.kt +++ b/compiler/testData/codegen/box/reflection/classes/companionObject.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.* class A { diff --git a/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt b/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt index 2975eaefe18..cfbe91532cf 100644 --- a/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt +++ b/compiler/testData/codegen/box/reflection/constructors/annotationClass.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals annotation class A1 diff --git a/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt b/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt index 2647d082f2c..53c84fd86a1 100644 --- a/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt +++ b/compiler/testData/codegen/box/reflection/constructors/primaryConstructor.kt @@ -5,7 +5,7 @@ import kotlin.test.assertNull import kotlin.test.assertNotNull -import kotlin.reflect.* +import kotlin.reflect.full.* class OnlyPrimary diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt b/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt index e1410183b37..400d9cd5253 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callByJava.kt @@ -36,7 +36,7 @@ public interface J { import J.* import kotlin.reflect.KClass -import kotlin.reflect.primaryConstructor +import kotlin.reflect.full.primaryConstructor import kotlin.test.assertEquals import kotlin.test.assertFails diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/callByKotlin.kt b/compiler/testData/codegen/box/reflection/createAnnotation/callByKotlin.kt index 1579deb2512..aca0876ceed 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callByKotlin.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callByKotlin.kt @@ -4,7 +4,7 @@ // WITH_REFLECT import kotlin.reflect.KClass -import kotlin.reflect.primaryConstructor +import kotlin.reflect.full.primaryConstructor import kotlin.test.assertEquals import kotlin.test.assertFails diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt b/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt index 48adf7d623c..3e3a193f0d4 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callJava.kt @@ -49,7 +49,7 @@ public interface J { import J.* import kotlin.reflect.KClass -import kotlin.reflect.primaryConstructor +import kotlin.reflect.full.primaryConstructor import kotlin.test.assertEquals import kotlin.test.assertFails diff --git a/compiler/testData/codegen/box/reflection/createAnnotation/callKotlin.kt b/compiler/testData/codegen/box/reflection/createAnnotation/callKotlin.kt index bc61c572b05..cf79af63878 100644 --- a/compiler/testData/codegen/box/reflection/createAnnotation/callKotlin.kt +++ b/compiler/testData/codegen/box/reflection/createAnnotation/callKotlin.kt @@ -4,7 +4,7 @@ // WITH_REFLECT import kotlin.reflect.KClass -import kotlin.reflect.primaryConstructor +import kotlin.reflect.full.primaryConstructor import kotlin.test.assertEquals import kotlin.test.assertFails diff --git a/compiler/testData/codegen/box/reflection/functions/declaredVsInheritedFunctions.kt b/compiler/testData/codegen/box/reflection/functions/declaredVsInheritedFunctions.kt index ffac5fb4245..4cb47e16f94 100644 --- a/compiler/testData/codegen/box/reflection/functions/declaredVsInheritedFunctions.kt +++ b/compiler/testData/codegen/box/reflection/functions/declaredVsInheritedFunctions.kt @@ -14,6 +14,7 @@ public class J { // FILE: K.kt import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals open class K : J() { diff --git a/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt b/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt index c4ab712c90f..497c5199848 100644 --- a/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt +++ b/compiler/testData/codegen/box/reflection/functions/javaClassGetFunctions.kt @@ -17,7 +17,7 @@ public class J { // FILE: K.kt -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals fun box(): String { diff --git a/compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt b/compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt index dd5f92d8869..4d168f76788 100644 --- a/compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt +++ b/compiler/testData/codegen/box/reflection/functions/privateMemberFunction.kt @@ -3,7 +3,8 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.KFunction +import kotlin.reflect.full.* import kotlin.reflect.jvm.* import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt b/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt index 944ad192e54..2d510742ebf 100644 --- a/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt +++ b/compiler/testData/codegen/box/reflection/functions/simpleGetFunctions.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* open class A { fun mem() {} diff --git a/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt b/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt index 77067c44a87..fb8a7c19a2f 100644 --- a/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt +++ b/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaFieldGetterSetter.kt @@ -5,6 +5,7 @@ // KT-8131 Cannot find backing field in ancestor class via reflection import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* open class TestBase { diff --git a/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt b/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt index 04a4aab055f..53306eb488e 100644 --- a/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt +++ b/compiler/testData/codegen/box/reflection/mapping/fakeOverrides/javaMethod.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* open class TestBase { diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt index 5bd812cc1d6..81059aecea8 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/memberExtensionToString.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* class A { var String.id: String diff --git a/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt b/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt index 3e1e388b3ee..c19a768bd6a 100644 --- a/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt +++ b/compiler/testData/codegen/box/reflection/parameters/functionParameterNameAndIndex.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals fun foo(bar: String): Int = bar.length diff --git a/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt b/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt index 710974e28b1..a9b3abe131e 100644 --- a/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt +++ b/compiler/testData/codegen/box/reflection/parameters/isMarkedNullable.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals import kotlin.test.assertTrue diff --git a/compiler/testData/codegen/box/reflection/parameters/kinds.kt b/compiler/testData/codegen/box/reflection/parameters/kinds.kt index 9e8281631ce..59170b332d7 100644 --- a/compiler/testData/codegen/box/reflection/parameters/kinds.kt +++ b/compiler/testData/codegen/box/reflection/parameters/kinds.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.KParameter.Kind.* import kotlin.test.assertEquals diff --git a/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt b/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt index 9750f307a4f..a8c61831838 100644 --- a/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt +++ b/compiler/testData/codegen/box/reflection/properties/accessors/accessorNames.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals var foo = "" diff --git a/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt b/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt index afcf1c0eb57..26235ff59bc 100644 --- a/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt +++ b/compiler/testData/codegen/box/reflection/properties/accessors/memberExtensions.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals class C(var state: String) { diff --git a/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt b/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt index 58970f582d8..fe3f7c2442f 100644 --- a/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt +++ b/compiler/testData/codegen/box/reflection/properties/allVsDeclared.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.* open class Super { diff --git a/compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt b/compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt index 82f1f880475..2d29ba6c514 100644 --- a/compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt +++ b/compiler/testData/codegen/box/reflection/properties/callPrivatePropertyFromGetProperties.kt @@ -3,7 +3,8 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.KProperty1 +import kotlin.reflect.full.* import kotlin.reflect.jvm.* class K(private val value: String) diff --git a/compiler/testData/codegen/box/reflection/properties/declaredVsInheritedProperties.kt b/compiler/testData/codegen/box/reflection/properties/declaredVsInheritedProperties.kt index 53e5eaf3aca..405ead5b7b4 100644 --- a/compiler/testData/codegen/box/reflection/properties/declaredVsInheritedProperties.kt +++ b/compiler/testData/codegen/box/reflection/properties/declaredVsInheritedProperties.kt @@ -14,6 +14,7 @@ public class J { // FILE: K.kt import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.assertEquals open class K : J() { diff --git a/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt b/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt index c1103bb6411..d0cd41df918 100644 --- a/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt +++ b/compiler/testData/codegen/box/reflection/properties/fakeOverridesInSubclass.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.test.* open class Super(val r: String) diff --git a/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt b/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt index c662235809e..bfaa19b355c 100644 --- a/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt +++ b/compiler/testData/codegen/box/reflection/properties/genericClassLiteralPropertyReceiverIsStar.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* class A { val result = "OK" diff --git a/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt b/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt index 5864544cef6..4a78cc3fd18 100644 --- a/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt +++ b/compiler/testData/codegen/box/reflection/properties/getExtensionPropertiesMutableVsReadonly.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* var storage = "before" diff --git a/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt b/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt index ef0f2b85ad6..dfb4ee51291 100644 --- a/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt +++ b/compiler/testData/codegen/box/reflection/properties/getPropertiesMutableVsReadonly.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* class A(val readonly: String) { var mutable: String = "before" diff --git a/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt b/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt index 4b1709d8116..d762d7172b0 100644 --- a/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt +++ b/compiler/testData/codegen/box/reflection/properties/invokeKProperty.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.declaredMemberProperties +import kotlin.reflect.full.declaredMemberProperties class A(val foo: String) diff --git a/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt b/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt index 0d0f7c6f23d..a3f9ae40aca 100644 --- a/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt +++ b/compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt @@ -10,6 +10,7 @@ public class J extends K { // FILE: K.kt import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* public open class K { diff --git a/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt b/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt index b7dab8ddb0e..4f506da387f 100644 --- a/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt +++ b/compiler/testData/codegen/box/reflection/properties/memberAndMemberExtensionWithSameName.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* class A { val foo: String = "member" diff --git a/compiler/testData/codegen/box/reflection/properties/privateClassVal.kt b/compiler/testData/codegen/box/reflection/properties/privateClassVal.kt index 6e4e20f4f72..6fe480086ce 100644 --- a/compiler/testData/codegen/box/reflection/properties/privateClassVal.kt +++ b/compiler/testData/codegen/box/reflection/properties/privateClassVal.kt @@ -3,7 +3,8 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.KProperty1 +import kotlin.reflect.full.* import kotlin.reflect.jvm.isAccessible class Result { diff --git a/compiler/testData/codegen/box/reflection/properties/privateClassVar.kt b/compiler/testData/codegen/box/reflection/properties/privateClassVar.kt index be1cf290bcd..fa1dd21e8bb 100644 --- a/compiler/testData/codegen/box/reflection/properties/privateClassVar.kt +++ b/compiler/testData/codegen/box/reflection/properties/privateClassVar.kt @@ -3,7 +3,8 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.KMutableProperty1 +import kotlin.reflect.full.* import kotlin.reflect.jvm.isAccessible class A { diff --git a/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt b/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt index 0ac136eed17..c6736b0e36d 100644 --- a/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt +++ b/compiler/testData/codegen/box/reflection/properties/privateFakeOverrideFromSuperclass.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* open class A(private val p: Int) class B : A(42) diff --git a/compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt b/compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt index d15f8b9e09f..cd4d9e23841 100644 --- a/compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt +++ b/compiler/testData/codegen/box/reflection/properties/privatePropertyCallIsAccessibleOnAccessors.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* import kotlin.test.* diff --git a/compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt b/compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt index 0abecc51601..7fbe2bdbc9b 100644 --- a/compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt +++ b/compiler/testData/codegen/box/reflection/properties/privateToThisAccessors.kt @@ -4,6 +4,7 @@ // WITH_REFLECT import kotlin.reflect.* +import kotlin.reflect.full.* import kotlin.reflect.jvm.* class K { diff --git a/compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt b/compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt index 7c915af12df..2e539726fb7 100644 --- a/compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt +++ b/compiler/testData/codegen/box/reflection/properties/protectedClassVar.kt @@ -3,7 +3,8 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.KMutableProperty1 +import kotlin.reflect.full.* import kotlin.reflect.jvm.isAccessible class A(param: String) { diff --git a/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt b/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt index c33f7a385ce..223907cc3ea 100644 --- a/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt +++ b/compiler/testData/codegen/box/reflection/properties/simpleGetProperties.kt @@ -3,7 +3,7 @@ // WITH_REFLECT -import kotlin.reflect.* +import kotlin.reflect.full.* class A(param: String) { val int: Int get() = 42 diff --git a/compiler/testData/codegen/reflection/classLoaders/differentClassLoaders.kt b/compiler/testData/codegen/reflection/classLoaders/differentClassLoaders.kt index 6780fe3f7d4..2dc6cea2161 100644 --- a/compiler/testData/codegen/reflection/classLoaders/differentClassLoaders.kt +++ b/compiler/testData/codegen/reflection/classLoaders/differentClassLoaders.kt @@ -1,6 +1,7 @@ package test -import kotlin.reflect.* +import kotlin.reflect.KClass +import kotlin.reflect.full.* import kotlin.test.* class K(val p: String)