[KLIB tool] Update KLIB metadata dump tests
^KT-62340
This commit is contained in:
committed by
Space Team
parent
f9f97f2050
commit
07767f88e2
Vendored
+95
-27
@@ -1,30 +1,98 @@
|
||||
package test {
|
||||
// Signature: test/C1|null[0]
|
||||
@anno(x = "top level class") class C1 @anno(x = "constructor") constructor() {
|
||||
// Signature: test/C1.p3|-373830470709388280[0]
|
||||
@anno(x = "member property") val p3: Nothing?
|
||||
// Signature: test/C1.v4|-38532081724949562[0]
|
||||
@anno(x = "member extension property") val Int.v4: Int
|
||||
// Signature: test/C1.f3|-21944318592270529[0]
|
||||
@anno(x = "member function") fun f3(@anno(x = "member function parameter") p: Int)
|
||||
// Signature: test/C1.f4|229292746020934047[0]
|
||||
@anno(x = "member extension function") fun String.f4()
|
||||
// Signature: test/C1.C2|null[0]
|
||||
@anno(x = "nested class") class C2 constructor()
|
||||
// Signature: test/C1.Companion|null[0]
|
||||
@anno(x = "companion object") companion object
|
||||
library {
|
||||
// module name: <annotationTargets.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C1.C2
|
||||
// class name: test/C1.Companion
|
||||
// class name: test/anno
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/anno(x = "top level class")
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|-5645683436151566731[0]
|
||||
@test/anno(x = "constructor")
|
||||
public constructor()
|
||||
|
||||
// signature: test/C1.f3|-21944318592270529[0]
|
||||
@test/anno(x = "member function")
|
||||
public final fun f3(@test/anno(x = "member function parameter") p: kotlin/Int): kotlin/Unit
|
||||
|
||||
// signature: test/C1.f4|229292746020934047[0]
|
||||
@test/anno(x = "member extension function")
|
||||
public final fun kotlin/String.f4(): kotlin/Unit
|
||||
|
||||
// signature: test/C1.p3|-373830470709388280[0]
|
||||
@test/anno(x = "member property")
|
||||
public final val p3: kotlin/Nothing?
|
||||
// signature: test/C1.p3.<get-p3>|-2557278263413792822[0]
|
||||
public final get
|
||||
|
||||
// signature: test/C1.v4|-38532081724949562[0]
|
||||
@test/anno(x = "member extension property")
|
||||
public final val kotlin/Int.v4: kotlin/Int
|
||||
// signature: test/C1.v4.<get-v4>|8055377869057184256[0]
|
||||
public final /* non-default */ get
|
||||
|
||||
// companion object: Companion
|
||||
|
||||
// nested class: C2
|
||||
|
||||
// nested class: Companion
|
||||
}
|
||||
// Signature: test/anno|null[0]
|
||||
annotation class anno constructor(x: String) : Annotation {
|
||||
// Signature: test/anno.x|-8060530855978347579[0]
|
||||
val x: String
|
||||
|
||||
// signature: test/C1.C2|null[0]
|
||||
@test/anno(x = "nested class")
|
||||
public final class test/C1.C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.C2.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
// Signature: test/f1|7367719253560189071[0]
|
||||
@anno(x = "top level function") fun f1(@anno(x = "top level function parameter") p: Int)
|
||||
// Signature: test/f2|6524047282310410984[0]
|
||||
@anno(x = "extension function") fun Long.f2(@anno(x = "extension function parameter") p: Int)
|
||||
// Signature: test/p1|7711764890799440087[0]
|
||||
@anno(x = "top level property") val p1: Nothing?
|
||||
// Signature: test/p2|8934898181461715514[0]
|
||||
@anno(x = "extension property") val Double.p2: Double
|
||||
|
||||
// signature: test/C1.Companion|null[0]
|
||||
@test/anno(x = "companion object")
|
||||
public final companion object test/C1.Companion : kotlin/Any {
|
||||
|
||||
// signature: test/C1.Companion.<init>|-5645683436151566731[0]
|
||||
private constructor()
|
||||
}
|
||||
|
||||
// signature: test/anno|null[0]
|
||||
public final annotation class test/anno : kotlin/Annotation {
|
||||
|
||||
// signature: test/anno.<init>|1280618353163213788[0]
|
||||
public constructor(x: kotlin/String)
|
||||
|
||||
// signature: test/anno.x|-8060530855978347579[0]
|
||||
public final val x: kotlin/String
|
||||
// signature: test/anno.x.<get-x>|1482705010654679335[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
package {
|
||||
|
||||
// signature: test/f1|7367719253560189071[0]
|
||||
@test/anno(x = "top level function")
|
||||
public final fun f1(@test/anno(x = "top level function parameter") p: kotlin/Int): kotlin/Unit
|
||||
|
||||
// signature: test/f2|6524047282310410984[0]
|
||||
@test/anno(x = "extension function")
|
||||
public final fun kotlin/Long.f2(@test/anno(x = "extension function parameter") p: kotlin/Int): kotlin/Unit
|
||||
|
||||
// signature: test/p1|7711764890799440087[0]
|
||||
@test/anno(x = "top level property")
|
||||
public final val p1: kotlin/Nothing?
|
||||
// signature: test/p1.<get-p1>|419663188770843259[0]
|
||||
public final get
|
||||
|
||||
// signature: test/p2|8934898181461715514[0]
|
||||
@test/anno(x = "extension property")
|
||||
public final val kotlin/Double.p2: kotlin/Double
|
||||
// signature: test/p2.<get-p2>|-4908997596127971814[0]
|
||||
public final /* non-default */ get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user