diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.kt b/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.kt index d7f25f79aeb..e93b40641e8 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.kt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test import java.lang.annotation.ElementType diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.kt b/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.kt index 3325a3f9956..f708b7d38ac 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.kt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test import java.lang.annotation.ElementType diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.kt b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.kt index ac631eee678..13266c083d4 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.kt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test import java.lang.annotation.ElementType diff --git a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.kt b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.kt index 0fde01edcda..8fd7b5e820f 100644 --- a/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.kt +++ b/compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test import java.lang.annotation.ElementType diff --git a/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassBound.kt b/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassBound.kt index cc5fcf72002..46639062af8 100644 --- a/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class Clock diff --git a/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassInterfaceBound.kt b/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassInterfaceBound.kt index 84ae8c6d8b5..a97f0151be3 100644 --- a/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassInterfaceBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassInterfaceBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class Clock where A : java.lang.Number, A : java.io.Serializable diff --git a/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperInterfaceBound.kt b/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperInterfaceBound.kt index 16f4f5d2a73..c503aac8dcc 100644 --- a/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperInterfaceBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperInterfaceBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class Clock diff --git a/compiler/testData/loadJava/compiledKotlin/class/InheritClassWithParam.kt b/compiler/testData/loadJava/compiledKotlin/class/InheritClassWithParam.kt index c758eb05eca..ffa5e983d80 100644 --- a/compiler/testData/loadJava/compiledKotlin/class/InheritClassWithParam.kt +++ b/compiler/testData/loadJava/compiledKotlin/class/InheritClassWithParam.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test abstract class Aaa

() diff --git a/compiler/testData/loadJava/compiledKotlin/class/InheritTraitWithParam.kt b/compiler/testData/loadJava/compiledKotlin/class/InheritTraitWithParam.kt index 25ee354d44c..13cb0ea39c4 100644 --- a/compiler/testData/loadJava/compiledKotlin/class/InheritTraitWithParam.kt +++ b/compiler/testData/loadJava/compiledKotlin/class/InheritTraitWithParam.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test interface Aaa

diff --git a/compiler/testData/loadJava/compiledKotlin/class/javaBean/JavaBeanVarOfGenericType.kt b/compiler/testData/loadJava/compiledKotlin/class/javaBean/JavaBeanVarOfGenericType.kt index 0e7a9952e7c..f2d67a69e9b 100644 --- a/compiler/testData/loadJava/compiledKotlin/class/javaBean/JavaBeanVarOfGenericType.kt +++ b/compiler/testData/loadJava/compiledKotlin/class/javaBean/JavaBeanVarOfGenericType.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test import java.util.ArrayList diff --git a/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericDeep.kt b/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericDeep.kt index 58f227b3248..c699c1df05d 100644 --- a/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericDeep.kt +++ b/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericDeep.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public open class ConstructorGenericDeep(p0: java.lang.Class?) diff --git a/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericUpperBound.kt b/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericUpperBound.kt index 6ca4f534ed8..61c546eee78 100644 --- a/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericUpperBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericUpperBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public open class ConstructorGenericUpperBound(p0: java.util.RandomAccess?) diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.kt index 4e2aa7b5519..d5a16972c3a 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM // FULL_JDK // JAVAC_EXPECTED_FILE // NO_CHECK_SOURCE_VS_BINARY diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/FieldOfArrayType.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/FieldOfArrayType.kt index b6a07983f19..af17e27340a 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/FieldOfArrayType.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/FieldOfArrayType.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public open class FieldOfArrayType() { diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePOneUpperBound.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePOneUpperBound.kt index e14a6aab1f2..29f372aac7f 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePOneUpperBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePOneUpperBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public open class MethodTypePOneUpperBound() { diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePTwoUpperBounds.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePTwoUpperBounds.kt index 23cec6f3a48..e8a1eeb48e6 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePTwoUpperBounds.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePTwoUpperBounds.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public open class MethodTypePTwoUpperBounds() { diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/ConstructorWithSeveralParams.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/ConstructorWithSeveralParams.kt index 7774aaa910f..4d84a520ff0 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/ConstructorWithSeveralParams.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/ConstructorWithSeveralParams.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test import java.util.* diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/MethodWithTypeParameters.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/MethodWithTypeParameters.kt index 8aab9f955d7..f6bc2304c78 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/MethodWithTypeParameters.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/MethodWithTypeParameters.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test import java.util.* diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/PropertyComplexTypes.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/PropertyComplexTypes.kt index 58cfa7d1717..616c60f81fb 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/PropertyComplexTypes.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/PropertyComplexTypes.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test import java.util.* diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/ExtraUpperBound.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/ExtraUpperBound.kt index a13453e36c1..969d526cd9a 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/ExtraUpperBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/ExtraUpperBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test import java.util.* diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/MissingUpperBound.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/MissingUpperBound.kt index 8a59c58187d..9506d4433da 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/MissingUpperBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/MissingUpperBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test import java.util.* diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure1.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure1.kt index 062813b972c..4b9cce2ecf6 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure1.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure1.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test import java.util.* diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure2.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure2.kt index fadf5c84b67..b43301a5394 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure2.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure2.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test import java.util.* diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoBounds.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoBounds.kt index dbfd33bbfac..c2d52452e02 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoBounds.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoBounds.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public interface TwoBounds { diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoTypeParameters.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoTypeParameters.kt index 3a40e0fe4e9..1aa3e8e8c76 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoTypeParameters.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoTypeParameters.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public interface TwoTypeParameters { diff --git a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/modality/ModalityOfFakeOverrides.kt b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/modality/ModalityOfFakeOverrides.kt index 626bb8bbeec..bea1b7f4864 100644 --- a/compiler/testData/loadJava/compiledKotlin/fromLoadJava/modality/ModalityOfFakeOverrides.kt +++ b/compiler/testData/loadJava/compiledKotlin/fromLoadJava/modality/ModalityOfFakeOverrides.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM // FULL_JDK // JAVAC_EXPECTED_FILE // NO_CHECK_SOURCE_VS_BINARY diff --git a/compiler/testData/loadJava/compiledKotlin/fun/NoSamAdapter.kt b/compiler/testData/loadJava/compiledKotlin/fun/NoSamAdapter.kt index 86e6ec5b0dc..4cc575e048e 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/NoSamAdapter.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/NoSamAdapter.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test public interface TaskObject { @@ -5,4 +6,4 @@ public interface TaskObject { } fun foo(r: Runnable) { -} \ No newline at end of file +} diff --git a/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassBound.kt b/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassBound.kt index 6ccce8aecd1..4c75f3e5985 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun uno(): Int = 1 diff --git a/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassInterfaceBound.kt b/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassInterfaceBound.kt index a474fd58084..7a821778906 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassInterfaceBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassInterfaceBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun tres(): Int where A : java.lang.Number, A : java.io.Serializable = 1 diff --git a/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperInterfaceBound.kt b/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperInterfaceBound.kt index 8a43508782f..5d48fcb73ba 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperInterfaceBound.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperInterfaceBound.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun dos(): Int = 1 diff --git a/compiler/testData/loadJava/compiledKotlin/fun/genericWithoutTypeVariables/FunParamNullable.kt b/compiler/testData/loadJava/compiledKotlin/fun/genericWithoutTypeVariables/FunParamNullable.kt index 6427669a24a..385c606a25c 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/genericWithoutTypeVariables/FunParamNullable.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/genericWithoutTypeVariables/FunParamNullable.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test fun fff(a: java.lang.Integer?) = 1 diff --git a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunParamNotNull.kt b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunParamNotNull.kt index fe4415d9666..bf5d963a138 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunParamNotNull.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunParamNotNull.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun fff(a: java.lang.Integer): Int = 1 diff --git a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunVarargInteger.kt b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunVarargInteger.kt index 5c5aa494fa3..ff42b8919dd 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunVarargInteger.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunVarargInteger.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun varargCharSequence(a: Int, vararg b: java.lang.Integer): Int = 1 diff --git a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNotNull.kt b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNotNull.kt index e385bc6614d..b6e92b3f7c0 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNotNull.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNotNull.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun ff(): java.lang.Integer = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNullable.kt b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNullable.kt index 811def8eeca..3c6bf036014 100644 --- a/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNullable.kt +++ b/compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNullable.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun ff(): java.lang.Integer? = null diff --git a/compiler/testData/loadJava/compiledKotlin/platformTypes/notnullTypeArgument.kt b/compiler/testData/loadJava/compiledKotlin/platformTypes/notnullTypeArgument.kt index 96e29e1ba2d..c5290f59744 100644 --- a/compiler/testData/loadJava/compiledKotlin/platformTypes/notnullTypeArgument.kt +++ b/compiler/testData/loadJava/compiledKotlin/platformTypes/notnullTypeArgument.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM // FULL_JDK // JAVAC_EXPECTED_FILE // NO_CHECK_SOURCE_VS_BINARY diff --git a/compiler/testData/loadJava/compiledKotlin/platformTypes/nullableTypeArgument.kt b/compiler/testData/loadJava/compiledKotlin/platformTypes/nullableTypeArgument.kt index 265ba1a6d1d..78a96f9b64c 100644 --- a/compiler/testData/loadJava/compiledKotlin/platformTypes/nullableTypeArgument.kt +++ b/compiler/testData/loadJava/compiledKotlin/platformTypes/nullableTypeArgument.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM // FULL_JDK // JAVAC_EXPECTED_FILE // NO_CHECK_SOURCE_VS_BINARY diff --git a/compiler/testData/loadJava/compiledKotlin/prop/ExtValClass.kt b/compiler/testData/loadJava/compiledKotlin/prop/ExtValClass.kt index 02c6edf89ec..6cdf9113d6a 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/ExtValClass.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/ExtValClass.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test val

P.anotherJavaClass: java.lang.Class

diff --git a/compiler/testData/loadJava/compiledKotlin/prop/ExtValIntListQOfIntInClass.kt b/compiler/testData/loadJava/compiledKotlin/prop/ExtValIntListQOfIntInClass.kt index bced635853c..3021cb4df45 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/ExtValIntListQOfIntInClass.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/ExtValIntListQOfIntInClass.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class ExtValInClass { diff --git a/compiler/testData/loadJava/compiledKotlin/prop/ExtVarClass.kt b/compiler/testData/loadJava/compiledKotlin/prop/ExtVarClass.kt index f32b9564961..be0d7e58547 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/ExtVarClass.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/ExtVarClass.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test var

P.anotherJavaClass: java.lang.Class

diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVal.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVal.kt index aa3bf53f63d..0c64c58bba0 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVal.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVal.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test class ClassVal() { @@ -11,4 +12,4 @@ class ClassVal() { protected val property4: String = { "" }() public val property5: Int = { 1 }() -} \ No newline at end of file +} diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValParams.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValParams.kt index 27dd479ba72..08e4d1aaaa2 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValParams.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValParams.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class ClassValParams( diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValWithGet.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValWithGet.kt index 443380b9241..ad05852f12f 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValWithGet.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValWithGet.kt @@ -1,4 +1,5 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test class ClassVal() { diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVar.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVar.kt index 267ccefb5b5..fb3f1456c3a 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVar.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVar.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class ClassVar() { diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarModality.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarModality.kt index b82d0e815df..f1b429cef5d 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarModality.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarModality.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test open class ClassVarModality() { @@ -14,4 +15,4 @@ open class ClassVarModality() { abstract class ClassVarModalityAbstract { abstract var property1 : java.util.Date public set -} \ No newline at end of file +} diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarParams.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarParams.kt index 57e5623900d..7ca536427f5 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarParams.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarParams.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class ClassVarParams( @@ -7,4 +8,4 @@ class ClassVarParams( protected var pr4: java.util.Date, public var pr5 : Any, pr6: Object) { -} \ No newline at end of file +} diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithGet.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithGet.kt index 345e515ee5e..f98909e4654 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithGet.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithGet.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class ClassVal() { @@ -15,4 +16,4 @@ class ClassVal() { public var property5: Int = 1 get -} \ No newline at end of file +} diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithSet.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithSet.kt index b665783decc..b41f6fe6f11 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithSet.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithSet.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test class ClassVal() { @@ -27,4 +28,4 @@ class ClassVal() { public var property11: Int = 1 internal set -} \ No newline at end of file +} diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtValLong.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtValLong.kt index 594e574064e..ac20810299b 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtValLong.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtValLong.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test val Long.date1: Any get() = java.util.Date() diff --git a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtVarLong.kt b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtVarLong.kt index 1fec3fb8334..b15647c4ad9 100644 --- a/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtVarLong.kt +++ b/compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtVarLong.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test var Long.date1: Any get() = java.util.Date() diff --git a/compiler/testData/loadJava/compiledKotlin/type/ArrayOfInteger.kt b/compiler/testData/loadJava/compiledKotlin/type/ArrayOfInteger.kt index 0686929264b..0c2c95facd1 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/ArrayOfInteger.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/ArrayOfInteger.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun nothing(): Array = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/ListOfString.kt b/compiler/testData/loadJava/compiledKotlin/type/ListOfString.kt index 43c0eb8f549..54a71684d8b 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/ListOfString.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/ListOfString.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun fff(): java.util.List = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/ListOfjlString.kt b/compiler/testData/loadJava/compiledKotlin/type/ListOfjlString.kt index df294e16734..99c1732420b 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/ListOfjlString.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/ListOfjlString.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun listOfJlString(): java.util.List = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/jlInteger.kt b/compiler/testData/loadJava/compiledKotlin/type/jlInteger.kt index 3ab6fd8125a..d5921e65707 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/jlInteger.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/jlInteger.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun integer(): java.lang.Integer = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/jlIntegerQ.kt b/compiler/testData/loadJava/compiledKotlin/type/jlIntegerQ.kt index 130417485e2..67268a5f5be 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/jlIntegerQ.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/jlIntegerQ.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun integerq(): java.lang.Integer? = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/jlNumber.kt b/compiler/testData/loadJava/compiledKotlin/type/jlNumber.kt index 6b0bf92600a..982e09f4e09 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/jlNumber.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/jlNumber.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun number(): java.lang.Number = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/jlObject.kt b/compiler/testData/loadJava/compiledKotlin/type/jlObject.kt index 7b4adff58d7..bc9a7e4dcaf 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/jlObject.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/jlObject.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun obj(): java.lang.Object = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/jlObjectQ.kt b/compiler/testData/loadJava/compiledKotlin/type/jlObjectQ.kt index 233ec8a3e34..58c4bb6e267 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/jlObjectQ.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/jlObjectQ.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun objq(): java.lang.Object? = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/jlString.kt b/compiler/testData/loadJava/compiledKotlin/type/jlString.kt index b81d7caed5c..7bb41c7686f 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/jlString.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/jlString.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun fff(): java.lang.String = throw Exception() diff --git a/compiler/testData/loadJava/compiledKotlin/type/jlStringQ.kt b/compiler/testData/loadJava/compiledKotlin/type/jlStringQ.kt index dba2fae63aa..a089e401ab7 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/jlStringQ.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/jlStringQ.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM package test fun fff(): java.lang.String? = null diff --git a/compiler/testData/loadJava/compiledKotlin/type/platform.kt b/compiler/testData/loadJava/compiledKotlin/type/platform.kt index af5e0f2bbe8..0b3a46839fb 100644 --- a/compiler/testData/loadJava/compiledKotlin/type/platform.kt +++ b/compiler/testData/loadJava/compiledKotlin/type/platform.kt @@ -1,8 +1,9 @@ -//ALLOW_AST_ACCESS +// TARGET_BACKEND: JVM +// ALLOW_AST_ACCESS package test import java.util.* fun printStream() = System.out fun list() = Collections.emptyList() -fun array(a: Array) = Arrays.copyOf(a, 2) \ No newline at end of file +fun array(a: Array) = Arrays.copyOf(a, 2) diff --git a/compiler/testData/loadJava/compiledKotlinWithStdlib/annotations/annotationClassDefaultValues.kt b/compiler/testData/loadJava/compiledKotlinWithStdlib/annotations/annotationClassDefaultValues.kt index 6417eeda7ae..1c2a4486a68 100644 --- a/compiler/testData/loadJava/compiledKotlinWithStdlib/annotations/annotationClassDefaultValues.kt +++ b/compiler/testData/loadJava/compiledKotlinWithStdlib/annotations/annotationClassDefaultValues.kt @@ -1,3 +1,4 @@ +// TARGET_BACKEND: JVM // NO_CHECK_SOURCE_VS_BINARY //^ While compiling source with K1, we do not store annotation default values, but we load them when reading compiled files both in K1 and K2 // This test verifies exactly loading of default values diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirLoadK2CompiledJsKotlinTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirLoadK2CompiledJsKotlinTestGenerated.java index 9950a442f95..c6a29353daf 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirLoadK2CompiledJsKotlinTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirLoadK2CompiledJsKotlinTestGenerated.java @@ -123,12 +123,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/annotations/classMembers/DelegatedProperty.kt"); } - @Test - @TestMetadata("EnumArgument.kt") - public void testEnumArgument() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/annotations/classMembers/EnumArgument.kt"); - } - @Test @TestMetadata("Function.kt") public void testFunction() throws Exception { @@ -217,12 +211,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/annotations/classes/DollarsInAnnotationName.kt"); } - @Test - @TestMetadata("EnumArgument.kt") - public void testEnumArgument() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/annotations/classes/EnumArgument.kt"); - } - @Test @TestMetadata("MultipleAnnotations.kt") public void testMultipleAnnotations() throws Exception { @@ -281,18 +269,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/DelegatedProperty.kt"); } - @Test - @TestMetadata("EnumArgument.kt") - public void testEnumArgument() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArgument.kt"); - } - - @Test - @TestMetadata("EnumArrayArgument.kt") - public void testEnumArrayArgument() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/annotations/packageMembers/EnumArrayArgument.kt"); - } - @Test @TestMetadata("Function.kt") public void testFunction() throws Exception { @@ -626,24 +602,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/class/ClassParamReferencesSelf.kt"); } - @Test - @TestMetadata("ClassParamUpperClassBound.kt") - public void testClassParamUpperClassBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassBound.kt"); - } - - @Test - @TestMetadata("ClassParamUpperClassInterfaceBound.kt") - public void testClassParamUpperClassInterfaceBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperClassInterfaceBound.kt"); - } - - @Test - @TestMetadata("ClassParamUpperInterfaceBound.kt") - public void testClassParamUpperInterfaceBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/class/ClassParamUpperInterfaceBound.kt"); - } - @Test @TestMetadata("ClassTwoParams.kt") public void testClassTwoParams() throws Exception { @@ -668,12 +626,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/class/InheritClassSimple.kt"); } - @Test - @TestMetadata("InheritClassWithParam.kt") - public void testInheritClassWithParam() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/class/InheritClassWithParam.kt"); - } - @Test @TestMetadata("InheritSubstitutedMethod.kt") public void testInheritSubstitutedMethod() throws Exception { @@ -686,12 +638,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/class/InheritTraitWithFunctionParam.kt"); } - @Test - @TestMetadata("InheritTraitWithParam.kt") - public void testInheritTraitWithParam() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/class/InheritTraitWithParam.kt"); - } - @Test @TestMetadata("InnerClassExtendInnerClass.kt") public void testInnerClassExtendInnerClass() throws Exception { @@ -815,12 +761,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/class/javaBean/JavaBeanVar.kt"); } - @Test - @TestMetadata("JavaBeanVarOfGenericType.kt") - public void testJavaBeanVarOfGenericType() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/class/javaBean/JavaBeanVarOfGenericType.kt"); - } - @Test @TestMetadata("TwoSetters.kt") public void testTwoSetters() throws Exception { @@ -996,24 +936,12 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/constructor/ConstructorCollectionParameter.kt"); } - @Test - @TestMetadata("ConstructorGenericDeep.kt") - public void testConstructorGenericDeep() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericDeep.kt"); - } - @Test @TestMetadata("ConstructorGenericSimple.kt") public void testConstructorGenericSimple() throws Exception { runTest("compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericSimple.kt"); } - @Test - @TestMetadata("ConstructorGenericUpperBound.kt") - public void testConstructorGenericUpperBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/constructor/ConstructorGenericUpperBound.kt"); - } - @Test @TestMetadata("ConstructorWithTwoDefArgs.kt") public void testConstructorWithTwoDefArgs() throws Exception { @@ -1172,12 +1100,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/ArrayTypeVariance.kt"); } - @Test - @TestMetadata("ClassDoesNotOverrideMethod.kt") - public void testClassDoesNotOverrideMethod() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/ClassDoesNotOverrideMethod.kt"); - } - @Test @TestMetadata("ClassObject.kt") public void testClassObject() throws Exception { @@ -1238,12 +1160,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/FieldAsVar.kt"); } - @Test - @TestMetadata("FieldOfArrayType.kt") - public void testFieldOfArrayType() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/FieldOfArrayType.kt"); - } - @Test @TestMetadata("FinalFieldAsVal.kt") public void testFinalFieldAsVal() throws Exception { @@ -1274,18 +1190,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/InnerClass.kt"); } - @Test - @TestMetadata("MethodTypePOneUpperBound.kt") - public void testMethodTypePOneUpperBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePOneUpperBound.kt"); - } - - @Test - @TestMetadata("MethodTypePTwoUpperBounds.kt") - public void testMethodTypePTwoUpperBounds() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/MethodTypePTwoUpperBounds.kt"); - } - @Test @TestMetadata("MethodWithTypeP.kt") public void testMethodWithTypeP() throws Exception { @@ -1397,12 +1301,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/ConstructorWithParentTypeParams.kt"); } - @Test - @TestMetadata("ConstructorWithSeveralParams.kt") - public void testConstructorWithSeveralParams() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/ConstructorWithSeveralParams.kt"); - } - @Test @TestMetadata("ConstructorWithoutParams.kt") public void testConstructorWithoutParams() throws Exception { @@ -1433,12 +1331,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/MethodWithMappedClasses.kt"); } - @Test - @TestMetadata("MethodWithTypeParameters.kt") - public void testMethodWithTypeParameters() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/MethodWithTypeParameters.kt"); - } - @Test @TestMetadata("MethodWithVararg.kt") public void testMethodWithVararg() throws Exception { @@ -1451,12 +1343,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/PropertyArrayTypes.kt"); } - @Test - @TestMetadata("PropertyComplexTypes.kt") - public void testPropertyComplexTypes() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/PropertyComplexTypes.kt"); - } - @Test @TestMetadata("PropertySimpleType.kt") public void testPropertySimpleType() throws Exception { @@ -1496,18 +1382,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/ExplicitFieldGettersAndSetters.kt"); } - @Test - @TestMetadata("ExtraUpperBound.kt") - public void testExtraUpperBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/ExtraUpperBound.kt"); - } - - @Test - @TestMetadata("MissingUpperBound.kt") - public void testMissingUpperBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/MissingUpperBound.kt"); - } - @Test @TestMetadata("NoFieldTypeRef.kt") public void testNoFieldTypeRef() throws Exception { @@ -1604,18 +1478,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeName3.kt"); } - @Test - @TestMetadata("WrongTypeParameterBoundStructure1.kt") - public void testWrongTypeParameterBoundStructure1() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure1.kt"); - } - - @Test - @TestMetadata("WrongTypeParameterBoundStructure2.kt") - public void testWrongTypeParameterBoundStructure2() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongTypeParameterBoundStructure2.kt"); - } - @Test @TestMetadata("WrongTypeParametersCount.kt") public void testWrongTypeParametersCount() throws Exception { @@ -2063,24 +1925,12 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/InheritReadOnliness.kt"); } - @Test - @TestMetadata("TwoBounds.kt") - public void testTwoBounds() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoBounds.kt"); - } - @Test @TestMetadata("TwoSuperclasses.kt") public void testTwoSuperclasses() throws Exception { runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoSuperclasses.kt"); } - @Test - @TestMetadata("TwoTypeParameters.kt") - public void testTwoTypeParameters() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/propagation/typeParameter/TwoTypeParameters.kt"); - } - @Test @TestMetadata("UseParameterAsUpperBound.kt") public void testUseParameterAsUpperBound() throws Exception { @@ -2138,12 +1988,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com public void testAllFilesPresentInModality() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledKotlin/fromLoadJava/modality"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - - @Test - @TestMetadata("ModalityOfFakeOverrides.kt") - public void testModalityOfFakeOverrides() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fromLoadJava/modality/ModalityOfFakeOverrides.kt"); - } } @Nested @@ -2232,12 +2076,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fun/InheritValsDifferentTypes.kt"); } - @Test - @TestMetadata("NoSamAdapter.kt") - public void testNoSamAdapter() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/NoSamAdapter.kt"); - } - @Test @TestMetadata("NoSamConstructor.kt") public void testNoSamConstructor() throws Exception { @@ -2301,24 +2139,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamTwoUpperBounds.kt"); } - @Test - @TestMetadata("FunParamUpperClassBound.kt") - public void testFunParamUpperClassBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassBound.kt"); - } - - @Test - @TestMetadata("FunParamUpperClassInterfaceBound.kt") - public void testFunParamUpperClassInterfaceBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperClassInterfaceBound.kt"); - } - - @Test - @TestMetadata("FunParamUpperInterfaceBound.kt") - public void testFunParamUpperInterfaceBound() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/genericWithTypeVariables/FunParamUpperInterfaceBound.kt"); - } - @Test @TestMetadata("FunParamVaragParam.kt") public void testFunParamVaragParam() throws Exception { @@ -2353,12 +2173,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fun/genericWithoutTypeVariables/FunClassParamNullable.kt"); } - @Test - @TestMetadata("FunParamNullable.kt") - public void testFunParamNullable() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/genericWithoutTypeVariables/FunParamNullable.kt"); - } - @Test @TestMetadata("ReturnTypeClassParamNotNull.kt") public void testReturnTypeClassParamNotNull() throws Exception { @@ -2423,24 +2237,12 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunDefaultArg.kt"); } - @Test - @TestMetadata("FunParamNotNull.kt") - public void testFunParamNotNull() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunParamNotNull.kt"); - } - @Test @TestMetadata("FunVarargInt.kt") public void testFunVarargInt() throws Exception { runTest("compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunVarargInt.kt"); } - @Test - @TestMetadata("FunVarargInteger.kt") - public void testFunVarargInteger() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/FunVarargInteger.kt"); - } - @Test @TestMetadata("ModifierAbstract.kt") public void testModifierAbstract() throws Exception { @@ -2464,18 +2266,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com public void testNsFunGetFoo() throws Exception { runTest("compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/NsFunGetFoo.kt"); } - - @Test - @TestMetadata("ReturnTypeNotNull.kt") - public void testReturnTypeNotNull() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNotNull.kt"); - } - - @Test - @TestMetadata("ReturnTypeNullable.kt") - public void testReturnTypeNullable() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/fun/nonGeneric/ReturnTypeNullable.kt"); - } } @Nested @@ -2599,18 +2389,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com public void testAllFilesPresentInPlatformTypes() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledKotlin/platformTypes"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - - @Test - @TestMetadata("notnullTypeArgument.kt") - public void testNotnullTypeArgument() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/platformTypes/notnullTypeArgument.kt"); - } - - @Test - @TestMetadata("nullableTypeArgument.kt") - public void testNullableTypeArgument() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/platformTypes/nullableTypeArgument.kt"); - } } @Nested @@ -2658,12 +2436,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/prop/Constants.kt"); } - @Test - @TestMetadata("ExtValClass.kt") - public void testExtValClass() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/ExtValClass.kt"); - } - @Test @TestMetadata("ExtValInClass.kt") public void testExtValInClass() throws Exception { @@ -2688,12 +2460,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/prop/ExtValIntCharSequenceQ.kt"); } - @Test - @TestMetadata("ExtValIntListQOfIntInClass.kt") - public void testExtValIntListQOfIntInClass() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/ExtValIntListQOfIntInClass.kt"); - } - @Test @TestMetadata("ExtValIntTInClass.kt") public void testExtValIntTInClass() throws Exception { @@ -2712,12 +2478,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/prop/ExtValTIntInClass.kt"); } - @Test - @TestMetadata("ExtVarClass.kt") - public void testExtVarClass() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/ExtVarClass.kt"); - } - @Test @TestMetadata("ExtVarInClass.kt") public void testExtVarInClass() throws Exception { @@ -2834,66 +2594,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com public void testAllFilesPresentInDefaultAccessors() throws Exception { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - - @Test - @TestMetadata("ClassVal.kt") - public void testClassVal() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVal.kt"); - } - - @Test - @TestMetadata("ClassValParams.kt") - public void testClassValParams() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValParams.kt"); - } - - @Test - @TestMetadata("ClassValWithGet.kt") - public void testClassValWithGet() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassValWithGet.kt"); - } - - @Test - @TestMetadata("ClassVar.kt") - public void testClassVar() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVar.kt"); - } - - @Test - @TestMetadata("ClassVarModality.kt") - public void testClassVarModality() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarModality.kt"); - } - - @Test - @TestMetadata("ClassVarParams.kt") - public void testClassVarParams() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarParams.kt"); - } - - @Test - @TestMetadata("ClassVarWithGet.kt") - public void testClassVarWithGet() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithGet.kt"); - } - - @Test - @TestMetadata("ClassVarWithSet.kt") - public void testClassVarWithSet() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ClassVarWithSet.kt"); - } - - @Test - @TestMetadata("ExtValLong.kt") - public void testExtValLong() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtValLong.kt"); - } - - @Test - @TestMetadata("ExtVarLong.kt") - public void testExtVarLong() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/prop/defaultAccessors/ExtVarLong.kt"); - } } } @@ -2930,12 +2630,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/type/ArrayOfInt.kt"); } - @Test - @TestMetadata("ArrayOfInteger.kt") - public void testArrayOfInteger() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/ArrayOfInteger.kt"); - } - @Test @TestMetadata("ArrayOfOutNumber.kt") public void testArrayOfOutNumber() throws Exception { @@ -2978,48 +2672,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/type/IntQ.kt"); } - @Test - @TestMetadata("jlInteger.kt") - public void testJlInteger() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/jlInteger.kt"); - } - - @Test - @TestMetadata("jlIntegerQ.kt") - public void testJlIntegerQ() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/jlIntegerQ.kt"); - } - - @Test - @TestMetadata("jlNumber.kt") - public void testJlNumber() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/jlNumber.kt"); - } - - @Test - @TestMetadata("jlObject.kt") - public void testJlObject() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/jlObject.kt"); - } - - @Test - @TestMetadata("jlObjectQ.kt") - public void testJlObjectQ() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/jlObjectQ.kt"); - } - - @Test - @TestMetadata("jlString.kt") - public void testJlString() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/jlString.kt"); - } - - @Test - @TestMetadata("jlStringQ.kt") - public void testJlStringQ() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/jlStringQ.kt"); - } - @Test @TestMetadata("ListOfAny.kt") public void testListOfAny() throws Exception { @@ -3038,18 +2690,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/type/ListOfStar.kt"); } - @Test - @TestMetadata("ListOfString.kt") - public void testListOfString() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/ListOfString.kt"); - } - - @Test - @TestMetadata("ListOfjlString.kt") - public void testListOfjlString() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/ListOfjlString.kt"); - } - @Test @TestMetadata("Nothing.kt") public void testNothing() throws Exception { @@ -3062,12 +2702,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com runTest("compiler/testData/loadJava/compiledKotlin/type/NothingQ.kt"); } - @Test - @TestMetadata("platform.kt") - public void testPlatform() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlin/type/platform.kt"); - } - @Test @TestMetadata("String.kt") public void testString() throws Exception { @@ -3222,12 +2856,6 @@ public class FirLoadK2CompiledJsKotlinTestGenerated extends AbstractFirLoadK2Com KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/loadJava/compiledKotlinWithStdlib/annotations"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, true); } - @Test - @TestMetadata("annotationClassDefaultValues.kt") - public void testAnnotationClassDefaultValues() throws Exception { - runTest("compiler/testData/loadJava/compiledKotlinWithStdlib/annotations/annotationClassDefaultValues.kt"); - } - @Test @TestMetadata("AnnotationInAnnotationArguments.kt") public void testAnnotationInAnnotationArguments() throws Exception {