[KLIB tool] Update KLIB metadata dump tests
^KT-62340
This commit is contained in:
committed by
Space Team
parent
f9f97f2050
commit
07767f88e2
Vendored
+83
-21
@@ -1,25 +1,87 @@
|
||||
package test {
|
||||
// Signature: test/C1|null[0]
|
||||
@JustEnum(weapon = Weapon.SCISSORS) @EnumArray(enumArray = {}) class C1 constructor()
|
||||
// Signature: test/C2|null[0]
|
||||
@EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}) class C2 constructor()
|
||||
// Signature: test/EnumArray|null[0]
|
||||
annotation class EnumArray constructor(enumArray: Array<Weapon>) : Annotation {
|
||||
// Signature: test/EnumArray.enumArray|{}enumArray[0]
|
||||
val enumArray: Array<Weapon>
|
||||
library {
|
||||
// module name: <enum.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/EnumArray
|
||||
// class name: test/JustEnum
|
||||
// class name: test/Weapon
|
||||
// class name: test/Weapon.PAPER
|
||||
// class name: test/Weapon.ROCK
|
||||
// class name: test/Weapon.SCISSORS
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/JustEnum(weapon = test/Weapon.SCISSORS)
|
||||
@test/EnumArray(enumArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
// Signature: test/JustEnum|null[0]
|
||||
annotation class JustEnum constructor(weapon: Weapon) : Annotation {
|
||||
// Signature: test/JustEnum.weapon|{}weapon[0]
|
||||
val weapon: Weapon
|
||||
|
||||
// signature: test/C2|null[0]
|
||||
@test/EnumArray(enumArray = [test/Weapon.PAPER, test/Weapon.ROCK])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C2.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
// Signature: test/Weapon|null[0]
|
||||
enum class Weapon private constructor() : Enum<Weapon> {
|
||||
// Signature: test/Weapon.ROCK|null[0]
|
||||
enum entry ROCK
|
||||
// Signature: test/Weapon.PAPER|null[0]
|
||||
enum entry PAPER
|
||||
// Signature: test/Weapon.SCISSORS|null[0]
|
||||
enum entry SCISSORS
|
||||
|
||||
// signature: test/EnumArray|null[0]
|
||||
public final annotation class test/EnumArray : kotlin/Annotation {
|
||||
|
||||
// signature: test/EnumArray.<init>|<init>(kotlin.Array<test.Weapon>){}[0]
|
||||
public constructor(enumArray: kotlin/Array<test/Weapon>)
|
||||
|
||||
// signature: test/EnumArray.enumArray|{}enumArray[0]
|
||||
public final val enumArray: kotlin/Array<test/Weapon>
|
||||
// signature: test/EnumArray.enumArray.<get-enumArray>|<get-enumArray>(){}[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/JustEnum|null[0]
|
||||
public final annotation class test/JustEnum : kotlin/Annotation {
|
||||
|
||||
// signature: test/JustEnum.<init>|<init>(test.Weapon){}[0]
|
||||
public constructor(weapon: test/Weapon)
|
||||
|
||||
// signature: test/JustEnum.weapon|{}weapon[0]
|
||||
public final val weapon: test/Weapon
|
||||
// signature: test/JustEnum.weapon.<get-weapon>|<get-weapon>(){}[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/Weapon|null[0]
|
||||
public final enum class test/Weapon : kotlin/Enum<test/Weapon> {
|
||||
|
||||
// signature: test/Weapon.<init>|<init>(){}[0]
|
||||
private constructor()
|
||||
|
||||
// signature: test/Weapon.ROCK|null[0]
|
||||
ROCK,
|
||||
|
||||
// signature: test/Weapon.PAPER|null[0]
|
||||
PAPER,
|
||||
|
||||
// signature: test/Weapon.SCISSORS|null[0]
|
||||
SCISSORS,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
|
||||
// signature: test/Weapon.PAPER|null[0]
|
||||
public final enum entry test/Weapon.PAPER : test/Weapon {
|
||||
}
|
||||
|
||||
// signature: test/Weapon.ROCK|null[0]
|
||||
public final enum entry test/Weapon.ROCK : test/Weapon {
|
||||
}
|
||||
|
||||
// signature: test/Weapon.SCISSORS|null[0]
|
||||
public final enum entry test/Weapon.SCISSORS : test/Weapon {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user