Support @JvmField on interface properties
#KT-15807 Fixed
This commit is contained in:
+45
@@ -1637,6 +1637,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/array.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boundJvmFieldInInterfaceCompanion.kt")
|
||||
public void testBoundJvmFieldInInterfaceCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/boundJvmFieldInInterfaceCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("companionObjectReceiver.kt")
|
||||
public void testCompanionObjectReceiver() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/bound/companionObjectReceiver.kt");
|
||||
@@ -11943,6 +11948,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/jvmField"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotationCompanion.kt")
|
||||
public void testAnnotationCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/annotationCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("annotationCompanionWithJava.kt")
|
||||
public void testAnnotationCompanionWithJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/annotationCompanionWithJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("captureClassFields.kt")
|
||||
public void testCaptureClassFields() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/captureClassFields.kt");
|
||||
@@ -11973,6 +11988,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/jvmField/constructorProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceCompanion.kt")
|
||||
public void testInterfaceCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/interfaceCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceCompanionWithJava.kt")
|
||||
public void testInterfaceCompanionWithJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/interfaceCompanionWithJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("publicField.kt")
|
||||
public void testPublicField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmField/publicField.kt");
|
||||
@@ -17691,6 +17716,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/inlineReifiedFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceCompanionPropertyWithJvmField.kt")
|
||||
public void testInterfaceCompanionPropertyWithJvmField() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/interfaceCompanionPropertyWithJvmField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("mappedClassIsEqualToClassLiteral.kt")
|
||||
public void testMappedClassIsEqualToClassLiteral() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/mappedClassIsEqualToClassLiteral.kt");
|
||||
@@ -18286,6 +18316,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/javaStaticField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmFieldInAnnotationCompanionWithAnnotation.kt")
|
||||
public void testJvmFieldInAnnotationCompanionWithAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/jvmFieldInAnnotationCompanionWithAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmFieldInInterfaceCompanion.kt")
|
||||
public void testJvmFieldInInterfaceCompanion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/jvmFieldInInterfaceCompanion.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmFieldInInterfaceCompanionWithAnnotation.kt")
|
||||
public void testJvmFieldInInterfaceCompanionWithAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/jvmFieldInInterfaceCompanionWithAnnotation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kotlinPropertyInheritedInJava.kt")
|
||||
public void testKotlinPropertyInheritedInJava() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/kotlinPropertyInheritedInJava.kt");
|
||||
|
||||
Reference in New Issue
Block a user