[KLIB tool] Update KLIB metadata dump tests

^KT-62340
This commit is contained in:
Dmitriy Dolovov
2024-02-09 15:23:40 +01:00
committed by Space Team
parent f9f97f2050
commit 07767f88e2
170 changed files with 9177 additions and 2207 deletions
+51 -16
View File
@@ -1,17 +1,52 @@
package custom.pkg {
annotation class A constructor() : Annotation
class Foo constructor() {
@A val annotated: Int = 0
var annotatedAccessors: Int
@A get
@A set
val annotatedGetter: Int = 0
@A get
var annotatedSetter: Int
@A set
var privateSetter: Int
private set
protected val protectedSimple: Int = 0
val simple: Int = 0
library {
// module name: <Accessors.kt>
library fragment {
// package name: custom.pkg
// class name: custom/pkg/A
// class name: custom/pkg/Foo
public final annotation class custom/pkg/A : kotlin/Annotation {
public constructor()
}
}
public final class custom/pkg/Foo : kotlin/Any {
public constructor()
@custom/pkg/A
public final val annotated: kotlin/Int /* = 0 */
public final get
public final var annotatedAccessors: kotlin/Int
@custom/pkg/A
public final /* non-default */ get
@custom/pkg/A
public final /* non-default */ set(<set-?>: kotlin/Int)
public final val annotatedGetter: kotlin/Int /* = 0 */
@custom/pkg/A
public final /* non-default */ get
public final var annotatedSetter: kotlin/Int
public final get
@custom/pkg/A
public final /* non-default */ set(<set-?>: kotlin/Int)
public final var privateSetter: kotlin/Int
public final get
private final /* non-default */ set(<set-?>: kotlin/Int)
private final val privateSimple: kotlin/Int /* = 0 */
private final get
protected final val protectedSimple: kotlin/Int /* = 0 */
protected final get
public final val simple: kotlin/Int /* = 0 */
public final get
}
}
}