Fix ultra light structure for @JvmRecord classes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
@kotlin.jvm.JvmRecord()
|
||||
public final class MyRec /* pkg.MyRec*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
private final java.lang.String name;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String component1();// component1()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final java.lang.String name();// name()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final pkg.MyRec copy(@org.jetbrains.annotations.NotNull() java.lang.String);// copy(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public java.lang.String toString();// toString()
|
||||
|
||||
public MyRec(@org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||
|
||||
public boolean equals(@org.jetbrains.annotations.Nullable() java.lang.Object);// equals(java.lang.Object)
|
||||
|
||||
public int hashCode();// hashCode()
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// CHECK_BY_JAVA_FILE
|
||||
// API_VERSION: 1.5
|
||||
// JVM_TARGET: 15
|
||||
// COMPILER_ARGUMENTS: -XXLanguage:+JvmRecordSupport -Xjvm-enable-preview
|
||||
package pkg
|
||||
|
||||
@JvmRecord
|
||||
data class MyRec(val name: String)
|
||||
Reference in New Issue
Block a user