[FIR] Generate java declarations for record components of java records

^KT-53964 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-09-30 14:51:58 +03:00
parent 2ed6e9febf
commit c0ad67c4f9
35 changed files with 469 additions and 71 deletions
@@ -1,5 +1,4 @@
// ENABLE_JVM_PREVIEW
// IGNORE_BACKEND_FIR: JVM_IR
// FILE: MyRec.java
public record MyRec(String name) implements KI {
public String getName() {
@@ -1,5 +1,4 @@
// ENABLE_JVM_PREVIEW
// IGNORE_BACKEND_FIR: JVM_IR
// FILE: MyRec.java
public record MyRec(String name) {
public String getName() {
@@ -1,5 +1,4 @@
// !LANGUAGE: +JvmRecordSupport
// IGNORE_BACKEND_FIR: JVM_IR
// ENABLE_JVM_PREVIEW
// FILE: MyRec.java
public record MyRec(String name) {}
@@ -1,5 +1,4 @@
// WITH_REFLECT
// IGNORE_BACKEND_FIR: JVM_IR
// ISSUE: KT-47760
// FILE: MyRecord.java