[KLIB tool] Update KLIB metadata dump tests
^KT-62340
This commit is contained in:
committed by
Space Team
parent
f9f97f2050
commit
07767f88e2
native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/annotation.kt
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
package test
|
||||
|
||||
annotation class Empty
|
||||
|
||||
+44
-8
@@ -1,11 +1,47 @@
|
||||
package test {
|
||||
annotation class AnnotationArray constructor(annotationArray: Array<JustAnnotation>) : Annotation {
|
||||
val annotationArray: Array<JustAnnotation>
|
||||
library {
|
||||
// module name: <annotation.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/AnnotationArray
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/Empty
|
||||
// class name: test/JustAnnotation
|
||||
|
||||
public final annotation class test/AnnotationArray : kotlin/Annotation {
|
||||
|
||||
public constructor(annotationArray: kotlin/Array<test/JustAnnotation>)
|
||||
|
||||
public final val annotationArray: kotlin/Array<test/JustAnnotation>
|
||||
public final get
|
||||
}
|
||||
@JustAnnotation(annotation = Empty) @AnnotationArray(annotationArray = {}) class C1 constructor()
|
||||
@AnnotationArray(annotationArray = {JustAnnotation(annotation = Empty), JustAnnotation(annotation = Empty)}) class C2 constructor()
|
||||
annotation class Empty constructor() : Annotation
|
||||
annotation class JustAnnotation constructor(annotation: Empty) : Annotation {
|
||||
val annotation: Empty
|
||||
|
||||
@test/JustAnnotation(annotation = test/Empty())
|
||||
@test/AnnotationArray(annotationArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
@test/AnnotationArray(annotationArray = [test/JustAnnotation(annotation = test/Empty()), test/JustAnnotation(annotation = test/Empty())])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
public final annotation class test/Empty : kotlin/Annotation {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
public final annotation class test/JustAnnotation : kotlin/Annotation {
|
||||
|
||||
public constructor(annotation: test/Empty)
|
||||
|
||||
public final val annotation: test/Empty
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+58
-15
@@ -1,18 +1,61 @@
|
||||
package test {
|
||||
// Signature: test/AnnotationArray|null[0]
|
||||
annotation class AnnotationArray constructor(annotationArray: Array<JustAnnotation>) : Annotation {
|
||||
// Signature: test/AnnotationArray.annotationArray|8313552415425816993[0]
|
||||
val annotationArray: Array<JustAnnotation>
|
||||
library {
|
||||
// module name: <annotation.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/AnnotationArray
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/Empty
|
||||
// class name: test/JustAnnotation
|
||||
|
||||
// signature: test/AnnotationArray|null[0]
|
||||
public final annotation class test/AnnotationArray : kotlin/Annotation {
|
||||
|
||||
// signature: test/AnnotationArray.<init>|-6014246659175253914[0]
|
||||
public constructor(annotationArray: kotlin/Array<test/JustAnnotation>)
|
||||
|
||||
// signature: test/AnnotationArray.annotationArray|8313552415425816993[0]
|
||||
public final val annotationArray: kotlin/Array<test/JustAnnotation>
|
||||
// signature: test/AnnotationArray.annotationArray.<get-annotationArray>|9152756390547890002[0]
|
||||
public final get
|
||||
}
|
||||
// Signature: test/C1|null[0]
|
||||
@JustAnnotation(annotation = Empty) @AnnotationArray(annotationArray = {}) class C1 constructor()
|
||||
// Signature: test/C2|null[0]
|
||||
@AnnotationArray(annotationArray = {JustAnnotation(annotation = Empty), JustAnnotation(annotation = Empty)}) class C2 constructor()
|
||||
// Signature: test/Empty|null[0]
|
||||
annotation class Empty constructor() : Annotation
|
||||
// Signature: test/JustAnnotation|null[0]
|
||||
annotation class JustAnnotation constructor(annotation: Empty) : Annotation {
|
||||
// Signature: test/JustAnnotation.annotation|-5849805091355678126[0]
|
||||
val annotation: Empty
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/JustAnnotation(annotation = test/Empty())
|
||||
@test/AnnotationArray(annotationArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/C2|null[0]
|
||||
@test/AnnotationArray(annotationArray = [test/JustAnnotation(annotation = test/Empty()), test/JustAnnotation(annotation = test/Empty())])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C2.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/Empty|null[0]
|
||||
public final annotation class test/Empty : kotlin/Annotation {
|
||||
|
||||
// signature: test/Empty.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/JustAnnotation|null[0]
|
||||
public final annotation class test/JustAnnotation : kotlin/Annotation {
|
||||
|
||||
// signature: test/JustAnnotation.<init>|5792502191508234832[0]
|
||||
public constructor(annotation: test/Empty)
|
||||
|
||||
// signature: test/JustAnnotation.annotation|-5849805091355678126[0]
|
||||
public final val annotation: test/Empty
|
||||
// signature: test/JustAnnotation.annotation.<get-annotation>|6966823876819433685[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+58
-15
@@ -1,18 +1,61 @@
|
||||
package test {
|
||||
// Signature: test/AnnotationArray|null[0]
|
||||
annotation class AnnotationArray constructor(annotationArray: Array<JustAnnotation>) : Annotation {
|
||||
// Signature: test/AnnotationArray.annotationArray|{}annotationArray[0]
|
||||
val annotationArray: Array<JustAnnotation>
|
||||
library {
|
||||
// module name: <annotation.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/AnnotationArray
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/Empty
|
||||
// class name: test/JustAnnotation
|
||||
|
||||
// signature: test/AnnotationArray|null[0]
|
||||
public final annotation class test/AnnotationArray : kotlin/Annotation {
|
||||
|
||||
// signature: test/AnnotationArray.<init>|<init>(kotlin.Array<test.JustAnnotation>){}[0]
|
||||
public constructor(annotationArray: kotlin/Array<test/JustAnnotation>)
|
||||
|
||||
// signature: test/AnnotationArray.annotationArray|{}annotationArray[0]
|
||||
public final val annotationArray: kotlin/Array<test/JustAnnotation>
|
||||
// signature: test/AnnotationArray.annotationArray.<get-annotationArray>|<get-annotationArray>(){}[0]
|
||||
public final get
|
||||
}
|
||||
// Signature: test/C1|null[0]
|
||||
@JustAnnotation(annotation = Empty) @AnnotationArray(annotationArray = {}) class C1 constructor()
|
||||
// Signature: test/C2|null[0]
|
||||
@AnnotationArray(annotationArray = {JustAnnotation(annotation = Empty), JustAnnotation(annotation = Empty)}) class C2 constructor()
|
||||
// Signature: test/Empty|null[0]
|
||||
annotation class Empty constructor() : Annotation
|
||||
// Signature: test/JustAnnotation|null[0]
|
||||
annotation class JustAnnotation constructor(annotation: Empty) : Annotation {
|
||||
// Signature: test/JustAnnotation.annotation|{}annotation[0]
|
||||
val annotation: Empty
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/JustAnnotation(annotation = test/Empty())
|
||||
@test/AnnotationArray(annotationArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/C2|null[0]
|
||||
@test/AnnotationArray(annotationArray = [test/JustAnnotation(annotation = test/Empty()), test/JustAnnotation(annotation = test/Empty())])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C2.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/Empty|null[0]
|
||||
public final annotation class test/Empty : kotlin/Annotation {
|
||||
|
||||
// signature: test/Empty.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/JustAnnotation|null[0]
|
||||
public final annotation class test/JustAnnotation : kotlin/Annotation {
|
||||
|
||||
// signature: test/JustAnnotation.<init>|<init>(test.Empty){}[0]
|
||||
public constructor(annotation: test/Empty)
|
||||
|
||||
// signature: test/JustAnnotation.annotation|{}annotation[0]
|
||||
public final val annotation: test/Empty
|
||||
// signature: test/JustAnnotation.annotation.<get-annotation>|<get-annotation>(){}[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
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
|
||||
|
||||
@test/JustEnum(weapon = test/Weapon.SCISSORS)
|
||||
@test/EnumArray(enumArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
@test/EnumArray(enumArray = [test/Weapon.PAPER, test/Weapon.ROCK])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
public final annotation class test/EnumArray : kotlin/Annotation {
|
||||
|
||||
public constructor(enumArray: kotlin/Array<test/Weapon>)
|
||||
|
||||
public final val enumArray: kotlin/Array<test/Weapon>
|
||||
public final get
|
||||
}
|
||||
|
||||
public final annotation class test/JustEnum : kotlin/Annotation {
|
||||
|
||||
public constructor(weapon: test/Weapon)
|
||||
|
||||
public final val weapon: test/Weapon
|
||||
public final get
|
||||
}
|
||||
|
||||
public final enum class test/Weapon : kotlin/Enum<test/Weapon> {
|
||||
|
||||
private constructor()
|
||||
|
||||
ROCK,
|
||||
|
||||
PAPER,
|
||||
|
||||
SCISSORS,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+63
-11
@@ -1,15 +1,67 @@
|
||||
package test {
|
||||
@JustEnum(weapon = Weapon.SCISSORS) @EnumArray(enumArray = {}) class C1 constructor()
|
||||
@EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}) class C2 constructor()
|
||||
annotation class EnumArray constructor(enumArray: Array<Weapon>) : Annotation {
|
||||
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
|
||||
|
||||
@test/JustEnum(weapon = test/Weapon.SCISSORS)
|
||||
@test/EnumArray(enumArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
annotation class JustEnum constructor(weapon: Weapon) : Annotation {
|
||||
val weapon: Weapon
|
||||
|
||||
@test/EnumArray(enumArray = [test/Weapon.PAPER, test/Weapon.ROCK])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
enum class Weapon private constructor() : Enum<Weapon> {
|
||||
enum entry ROCK
|
||||
enum entry PAPER
|
||||
enum entry SCISSORS
|
||||
|
||||
public final annotation class test/EnumArray : kotlin/Annotation {
|
||||
|
||||
public constructor(enumArray: kotlin/Array<test/Weapon>)
|
||||
|
||||
public final val enumArray: kotlin/Array<test/Weapon>
|
||||
public final get
|
||||
}
|
||||
|
||||
public final annotation class test/JustEnum : kotlin/Annotation {
|
||||
|
||||
public constructor(weapon: test/Weapon)
|
||||
|
||||
public final val weapon: test/Weapon
|
||||
public final get
|
||||
}
|
||||
|
||||
public final enum class test/Weapon : kotlin/Enum<test/Weapon> {
|
||||
|
||||
private constructor()
|
||||
|
||||
ROCK,
|
||||
|
||||
PAPER,
|
||||
|
||||
SCISSORS,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
|
||||
public final enum entry test/Weapon.PAPER : test/Weapon {
|
||||
}
|
||||
|
||||
public final enum entry test/Weapon.ROCK : test/Weapon {
|
||||
}
|
||||
|
||||
public final enum entry test/Weapon.SCISSORS : test/Weapon {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
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
|
||||
|
||||
// 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>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// 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>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/EnumArray|null[0]
|
||||
public final annotation class test/EnumArray : kotlin/Annotation {
|
||||
|
||||
// signature: test/EnumArray.<init>|-6965179920057674266[0]
|
||||
public constructor(enumArray: kotlin/Array<test/Weapon>)
|
||||
|
||||
// signature: test/EnumArray.enumArray|-1032102509447694281[0]
|
||||
public final val enumArray: kotlin/Array<test/Weapon>
|
||||
// signature: test/EnumArray.enumArray.<get-enumArray>|913789251105993902[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/JustEnum|null[0]
|
||||
public final annotation class test/JustEnum : kotlin/Annotation {
|
||||
|
||||
// signature: test/JustEnum.<init>|520094243120006516[0]
|
||||
public constructor(weapon: test/Weapon)
|
||||
|
||||
// signature: test/JustEnum.weapon|187372160426561863[0]
|
||||
public final val weapon: test/Weapon
|
||||
// signature: test/JustEnum.weapon.<get-weapon>|-151232346567386467[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/Weapon|null[0]
|
||||
public final enum class test/Weapon : kotlin/Enum<test/Weapon> {
|
||||
|
||||
// signature: test/Weapon.<init>|-5645683436151566731[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
|
||||
}
|
||||
}
|
||||
}
|
||||
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|-1032102509447694281[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>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
// Signature: test/JustEnum|null[0]
|
||||
annotation class JustEnum constructor(weapon: Weapon) : Annotation {
|
||||
// Signature: test/JustEnum.weapon|187372160426561863[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>|-5645683436151566731[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>|-6965179920057674266[0]
|
||||
public constructor(enumArray: kotlin/Array<test/Weapon>)
|
||||
|
||||
// signature: test/EnumArray.enumArray|-1032102509447694281[0]
|
||||
public final val enumArray: kotlin/Array<test/Weapon>
|
||||
// signature: test/EnumArray.enumArray.<get-enumArray>|913789251105993902[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/JustEnum|null[0]
|
||||
public final annotation class test/JustEnum : kotlin/Annotation {
|
||||
|
||||
// signature: test/JustEnum.<init>|520094243120006516[0]
|
||||
public constructor(weapon: test/Weapon)
|
||||
|
||||
// signature: test/JustEnum.weapon|187372160426561863[0]
|
||||
public final val weapon: test/Weapon
|
||||
// signature: test/JustEnum.weapon.<get-weapon>|-151232346567386467[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/Weapon|null[0]
|
||||
public final enum class test/Weapon : kotlin/Enum<test/Weapon> {
|
||||
|
||||
// signature: test/Weapon.<init>|-5645683436151566731[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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
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
|
||||
|
||||
// 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/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/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
|
||||
}
|
||||
}
|
||||
}
|
||||
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 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
package test
|
||||
|
||||
annotation class PrimitiveArrays(
|
||||
|
||||
+50
-12
@@ -1,14 +1,52 @@
|
||||
package test {
|
||||
@PrimitiveArrays(booleanArray = {true, false, true}, byteArray = {-7.toByte(), 7.toByte()}, charArray = {\u0025 ('%'), \u007A ('z')}, doubleArray = {-3.14.toDouble()}, floatArray = {2.72.toFloat(), 0.0.toFloat()}, intArray = {239017, -1}, longArray = {123456789123456789.toLong()}, shortArray = {239.toShort()}) class C1 constructor()
|
||||
@PrimitiveArrays(booleanArray = {}, byteArray = {}, charArray = {}, doubleArray = {}, floatArray = {}, intArray = {}, longArray = {}, shortArray = {}) class C2 constructor()
|
||||
annotation class PrimitiveArrays constructor(byteArray: ByteArray, charArray: CharArray, shortArray: ShortArray, intArray: IntArray, longArray: LongArray, floatArray: FloatArray, doubleArray: DoubleArray, booleanArray: BooleanArray) : Annotation {
|
||||
val booleanArray: BooleanArray
|
||||
val byteArray: ByteArray
|
||||
val charArray: CharArray
|
||||
val doubleArray: DoubleArray
|
||||
val floatArray: FloatArray
|
||||
val intArray: IntArray
|
||||
val longArray: LongArray
|
||||
val shortArray: ShortArray
|
||||
library {
|
||||
// module name: <primitiveArrays.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/PrimitiveArrays
|
||||
|
||||
@test/PrimitiveArrays(byteArray = [-7.toByte(), 7.toByte()], charArray = ['%', 'z'], shortArray = [239.toShort()], intArray = [239017, -1], longArray = [123456789123456789L], floatArray = [2.72f, 0.0f], doubleArray = [-3.14], booleanArray = [true, false, true])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
@test/PrimitiveArrays(byteArray = [], charArray = [], shortArray = [], intArray = [], longArray = [], floatArray = [], doubleArray = [], booleanArray = [])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
public final annotation class test/PrimitiveArrays : kotlin/Annotation {
|
||||
|
||||
public constructor(byteArray: kotlin/ByteArray, charArray: kotlin/CharArray, shortArray: kotlin/ShortArray, intArray: kotlin/IntArray, longArray: kotlin/LongArray, floatArray: kotlin/FloatArray, doubleArray: kotlin/DoubleArray, booleanArray: kotlin/BooleanArray)
|
||||
|
||||
public final val booleanArray: kotlin/BooleanArray
|
||||
public final get
|
||||
|
||||
public final val byteArray: kotlin/ByteArray
|
||||
public final get
|
||||
|
||||
public final val charArray: kotlin/CharArray
|
||||
public final get
|
||||
|
||||
public final val doubleArray: kotlin/DoubleArray
|
||||
public final get
|
||||
|
||||
public final val floatArray: kotlin/FloatArray
|
||||
public final get
|
||||
|
||||
public final val intArray: kotlin/IntArray
|
||||
public final get
|
||||
|
||||
public final val longArray: kotlin/LongArray
|
||||
public final get
|
||||
|
||||
public final val shortArray: kotlin/ShortArray
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+72
-23
@@ -1,25 +1,74 @@
|
||||
package test {
|
||||
// Signature: test/C1|null[0]
|
||||
@PrimitiveArrays(booleanArray = {true, false, true}, byteArray = {-7.toByte(), 7.toByte()}, charArray = {\u0025 ('%'), \u007A ('z')}, doubleArray = {-3.14.toDouble()}, floatArray = {2.72.toFloat(), 0.0.toFloat()}, intArray = {239017, -1}, longArray = {123456789123456789.toLong()}, shortArray = {239.toShort()}) class C1 constructor()
|
||||
// Signature: test/C2|null[0]
|
||||
@PrimitiveArrays(booleanArray = {}, byteArray = {}, charArray = {}, doubleArray = {}, floatArray = {}, intArray = {}, longArray = {}, shortArray = {}) class C2 constructor()
|
||||
// Signature: test/PrimitiveArrays|null[0]
|
||||
annotation class PrimitiveArrays constructor(byteArray: ByteArray, charArray: CharArray, shortArray: ShortArray, intArray: IntArray, longArray: LongArray, floatArray: FloatArray, doubleArray: DoubleArray, booleanArray: BooleanArray) : Annotation {
|
||||
// Signature: test/PrimitiveArrays.booleanArray|7605527965651232515[0]
|
||||
val booleanArray: BooleanArray
|
||||
// Signature: test/PrimitiveArrays.byteArray|-2314777124899298189[0]
|
||||
val byteArray: ByteArray
|
||||
// Signature: test/PrimitiveArrays.charArray|-5349931751208968301[0]
|
||||
val charArray: CharArray
|
||||
// Signature: test/PrimitiveArrays.doubleArray|-3027997348205759511[0]
|
||||
val doubleArray: DoubleArray
|
||||
// Signature: test/PrimitiveArrays.floatArray|-863616440006860352[0]
|
||||
val floatArray: FloatArray
|
||||
// Signature: test/PrimitiveArrays.intArray|-5845507301569286943[0]
|
||||
val intArray: IntArray
|
||||
// Signature: test/PrimitiveArrays.longArray|-261136028309834719[0]
|
||||
val longArray: LongArray
|
||||
// Signature: test/PrimitiveArrays.shortArray|3516401755230006906[0]
|
||||
val shortArray: ShortArray
|
||||
library {
|
||||
// module name: <primitiveArrays.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/PrimitiveArrays
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/PrimitiveArrays(byteArray = [-7.toByte(), 7.toByte()], charArray = ['%', 'z'], shortArray = [239.toShort()], intArray = [239017, -1], longArray = [123456789123456789L], floatArray = [2.72f, 0.0f], doubleArray = [-3.14], booleanArray = [true, false, true])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/C2|null[0]
|
||||
@test/PrimitiveArrays(byteArray = [], charArray = [], shortArray = [], intArray = [], longArray = [], floatArray = [], doubleArray = [], booleanArray = [])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C2.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/PrimitiveArrays|null[0]
|
||||
public final annotation class test/PrimitiveArrays : kotlin/Annotation {
|
||||
|
||||
// signature: test/PrimitiveArrays.<init>|-4916018512902367750[0]
|
||||
public constructor(byteArray: kotlin/ByteArray, charArray: kotlin/CharArray, shortArray: kotlin/ShortArray, intArray: kotlin/IntArray, longArray: kotlin/LongArray, floatArray: kotlin/FloatArray, doubleArray: kotlin/DoubleArray, booleanArray: kotlin/BooleanArray)
|
||||
|
||||
// signature: test/PrimitiveArrays.booleanArray|7605527965651232515[0]
|
||||
public final val booleanArray: kotlin/BooleanArray
|
||||
// signature: test/PrimitiveArrays.booleanArray.<get-booleanArray>|-1483974669542225092[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.byteArray|-2314777124899298189[0]
|
||||
public final val byteArray: kotlin/ByteArray
|
||||
// signature: test/PrimitiveArrays.byteArray.<get-byteArray>|1184466848294423218[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.charArray|-5349931751208968301[0]
|
||||
public final val charArray: kotlin/CharArray
|
||||
// signature: test/PrimitiveArrays.charArray.<get-charArray>|-8841051727055591008[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.doubleArray|-3027997348205759511[0]
|
||||
public final val doubleArray: kotlin/DoubleArray
|
||||
// signature: test/PrimitiveArrays.doubleArray.<get-doubleArray>|-8332107536960256489[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.floatArray|-863616440006860352[0]
|
||||
public final val floatArray: kotlin/FloatArray
|
||||
// signature: test/PrimitiveArrays.floatArray.<get-floatArray>|-7251674888770048121[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.intArray|-5845507301569286943[0]
|
||||
public final val intArray: kotlin/IntArray
|
||||
// signature: test/PrimitiveArrays.intArray.<get-intArray>|8581538667026869746[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.longArray|-261136028309834719[0]
|
||||
public final val longArray: kotlin/LongArray
|
||||
// signature: test/PrimitiveArrays.longArray.<get-longArray>|7513485594208747900[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.shortArray|3516401755230006906[0]
|
||||
public final val shortArray: kotlin/ShortArray
|
||||
// signature: test/PrimitiveArrays.shortArray.<get-shortArray>|6916129091578524572[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+72
-23
@@ -1,25 +1,74 @@
|
||||
package test {
|
||||
// Signature: test/C1|null[0]
|
||||
@PrimitiveArrays(booleanArray = {true, false, true}, byteArray = {-7.toByte(), 7.toByte()}, charArray = {\u0025 ('%'), \u007A ('z')}, doubleArray = {-3.14.toDouble()}, floatArray = {2.72.toFloat(), 0.0.toFloat()}, intArray = {239017, -1}, longArray = {123456789123456789.toLong()}, shortArray = {239.toShort()}) class C1 constructor()
|
||||
// Signature: test/C2|null[0]
|
||||
@PrimitiveArrays(booleanArray = {}, byteArray = {}, charArray = {}, doubleArray = {}, floatArray = {}, intArray = {}, longArray = {}, shortArray = {}) class C2 constructor()
|
||||
// Signature: test/PrimitiveArrays|null[0]
|
||||
annotation class PrimitiveArrays constructor(byteArray: ByteArray, charArray: CharArray, shortArray: ShortArray, intArray: IntArray, longArray: LongArray, floatArray: FloatArray, doubleArray: DoubleArray, booleanArray: BooleanArray) : Annotation {
|
||||
// Signature: test/PrimitiveArrays.booleanArray|{}booleanArray[0]
|
||||
val booleanArray: BooleanArray
|
||||
// Signature: test/PrimitiveArrays.byteArray|{}byteArray[0]
|
||||
val byteArray: ByteArray
|
||||
// Signature: test/PrimitiveArrays.charArray|{}charArray[0]
|
||||
val charArray: CharArray
|
||||
// Signature: test/PrimitiveArrays.doubleArray|{}doubleArray[0]
|
||||
val doubleArray: DoubleArray
|
||||
// Signature: test/PrimitiveArrays.floatArray|{}floatArray[0]
|
||||
val floatArray: FloatArray
|
||||
// Signature: test/PrimitiveArrays.intArray|{}intArray[0]
|
||||
val intArray: IntArray
|
||||
// Signature: test/PrimitiveArrays.longArray|{}longArray[0]
|
||||
val longArray: LongArray
|
||||
// Signature: test/PrimitiveArrays.shortArray|{}shortArray[0]
|
||||
val shortArray: ShortArray
|
||||
library {
|
||||
// module name: <primitiveArrays.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/PrimitiveArrays
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/PrimitiveArrays(byteArray = [-7.toByte(), 7.toByte()], charArray = ['%', 'z'], shortArray = [239.toShort()], intArray = [239017, -1], longArray = [123456789123456789L], floatArray = [2.72f, 0.0f], doubleArray = [-3.14], booleanArray = [true, false, true])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/C2|null[0]
|
||||
@test/PrimitiveArrays(byteArray = [], charArray = [], shortArray = [], intArray = [], longArray = [], floatArray = [], doubleArray = [], booleanArray = [])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C2.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/PrimitiveArrays|null[0]
|
||||
public final annotation class test/PrimitiveArrays : kotlin/Annotation {
|
||||
|
||||
// signature: test/PrimitiveArrays.<init>|<init>(kotlin.ByteArray;kotlin.CharArray;kotlin.ShortArray;kotlin.IntArray;kotlin.LongArray;kotlin.FloatArray;kotlin.DoubleArray;kotlin.BooleanArray){}[0]
|
||||
public constructor(byteArray: kotlin/ByteArray, charArray: kotlin/CharArray, shortArray: kotlin/ShortArray, intArray: kotlin/IntArray, longArray: kotlin/LongArray, floatArray: kotlin/FloatArray, doubleArray: kotlin/DoubleArray, booleanArray: kotlin/BooleanArray)
|
||||
|
||||
// signature: test/PrimitiveArrays.booleanArray|{}booleanArray[0]
|
||||
public final val booleanArray: kotlin/BooleanArray
|
||||
// signature: test/PrimitiveArrays.booleanArray.<get-booleanArray>|<get-booleanArray>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.byteArray|{}byteArray[0]
|
||||
public final val byteArray: kotlin/ByteArray
|
||||
// signature: test/PrimitiveArrays.byteArray.<get-byteArray>|<get-byteArray>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.charArray|{}charArray[0]
|
||||
public final val charArray: kotlin/CharArray
|
||||
// signature: test/PrimitiveArrays.charArray.<get-charArray>|<get-charArray>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.doubleArray|{}doubleArray[0]
|
||||
public final val doubleArray: kotlin/DoubleArray
|
||||
// signature: test/PrimitiveArrays.doubleArray.<get-doubleArray>|<get-doubleArray>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.floatArray|{}floatArray[0]
|
||||
public final val floatArray: kotlin/FloatArray
|
||||
// signature: test/PrimitiveArrays.floatArray.<get-floatArray>|<get-floatArray>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.intArray|{}intArray[0]
|
||||
public final val intArray: kotlin/IntArray
|
||||
// signature: test/PrimitiveArrays.intArray.<get-intArray>|<get-intArray>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.longArray|{}longArray[0]
|
||||
public final val longArray: kotlin/LongArray
|
||||
// signature: test/PrimitiveArrays.longArray.<get-longArray>|<get-longArray>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/PrimitiveArrays.shortArray|{}shortArray[0]
|
||||
public final val shortArray: kotlin/ShortArray
|
||||
// signature: test/PrimitiveArrays.shortArray.<get-shortArray>|<get-shortArray>(){}[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/primitives.kt
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
package test
|
||||
|
||||
annotation class Primitives(
|
||||
|
||||
+43
-11
@@ -1,13 +1,45 @@
|
||||
package test {
|
||||
@Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) class C constructor()
|
||||
annotation class Primitives constructor(byte: Byte, char: Char, short: Short, int: Int, long: Long, float: Float, double: Double, boolean: Boolean) : Annotation {
|
||||
val boolean: Boolean
|
||||
val byte: Byte
|
||||
val char: Char
|
||||
val double: Double
|
||||
val float: Float
|
||||
val int: Int
|
||||
val long: Long
|
||||
val short: Short
|
||||
library {
|
||||
// module name: <primitives.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C
|
||||
// class name: test/Primitives
|
||||
|
||||
@test/Primitives(byte = 7.toByte(), char = '%', short = 239.toShort(), int = 239017, long = 123456789123456789L, float = 2.72f, double = -3.14, boolean = true)
|
||||
public final class test/C : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
public final annotation class test/Primitives : kotlin/Annotation {
|
||||
|
||||
public constructor(byte: kotlin/Byte, char: kotlin/Char, short: kotlin/Short, int: kotlin/Int, long: kotlin/Long, float: kotlin/Float, double: kotlin/Double, boolean: kotlin/Boolean)
|
||||
|
||||
public final val boolean: kotlin/Boolean
|
||||
public final get
|
||||
|
||||
public final val byte: kotlin/Byte
|
||||
public final get
|
||||
|
||||
public final val char: kotlin/Char
|
||||
public final get
|
||||
|
||||
public final val double: kotlin/Double
|
||||
public final get
|
||||
|
||||
public final val float: kotlin/Float
|
||||
public final get
|
||||
|
||||
public final val int: kotlin/Int
|
||||
public final get
|
||||
|
||||
public final val long: kotlin/Long
|
||||
public final get
|
||||
|
||||
public final val short: kotlin/Short
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+63
-21
@@ -1,23 +1,65 @@
|
||||
package test {
|
||||
// Signature: test/C|null[0]
|
||||
@Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) class C constructor()
|
||||
// Signature: test/Primitives|null[0]
|
||||
annotation class Primitives constructor(byte: Byte, char: Char, short: Short, int: Int, long: Long, float: Float, double: Double, boolean: Boolean) : Annotation {
|
||||
// Signature: test/Primitives.boolean|-4261332457766342551[0]
|
||||
val boolean: Boolean
|
||||
// Signature: test/Primitives.byte|-96849965763790584[0]
|
||||
val byte: Byte
|
||||
// Signature: test/Primitives.char|-1670337955414892634[0]
|
||||
val char: Char
|
||||
// Signature: test/Primitives.double|2356391280675975773[0]
|
||||
val double: Double
|
||||
// Signature: test/Primitives.float|3027698144133593704[0]
|
||||
val float: Float
|
||||
// Signature: test/Primitives.int|4038882325283937173[0]
|
||||
val int: Int
|
||||
// Signature: test/Primitives.long|-3528812958611327186[0]
|
||||
val long: Long
|
||||
// Signature: test/Primitives.short|2683753303457941763[0]
|
||||
val short: Short
|
||||
library {
|
||||
// module name: <primitives.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C
|
||||
// class name: test/Primitives
|
||||
|
||||
// signature: test/C|null[0]
|
||||
@test/Primitives(byte = 7.toByte(), char = '%', short = 239.toShort(), int = 239017, long = 123456789123456789L, float = 2.72f, double = -3.14, boolean = true)
|
||||
public final class test/C : kotlin/Any {
|
||||
|
||||
// signature: test/C.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/Primitives|null[0]
|
||||
public final annotation class test/Primitives : kotlin/Annotation {
|
||||
|
||||
// signature: test/Primitives.<init>|4757917789516536964[0]
|
||||
public constructor(byte: kotlin/Byte, char: kotlin/Char, short: kotlin/Short, int: kotlin/Int, long: kotlin/Long, float: kotlin/Float, double: kotlin/Double, boolean: kotlin/Boolean)
|
||||
|
||||
// signature: test/Primitives.boolean|-4261332457766342551[0]
|
||||
public final val boolean: kotlin/Boolean
|
||||
// signature: test/Primitives.boolean.<get-boolean>|517708060946479255[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.byte|-96849965763790584[0]
|
||||
public final val byte: kotlin/Byte
|
||||
// signature: test/Primitives.byte.<get-byte>|310937544708577298[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.char|-1670337955414892634[0]
|
||||
public final val char: kotlin/Char
|
||||
// signature: test/Primitives.char.<get-char>|1437740164735763428[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.double|2356391280675975773[0]
|
||||
public final val double: kotlin/Double
|
||||
// signature: test/Primitives.double.<get-double>|-6763865848971261464[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.float|3027698144133593704[0]
|
||||
public final val float: kotlin/Float
|
||||
// signature: test/Primitives.float.<get-float>|1344292707679993701[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.int|4038882325283937173[0]
|
||||
public final val int: kotlin/Int
|
||||
// signature: test/Primitives.int.<get-int>|-626442327997506045[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.long|-3528812958611327186[0]
|
||||
public final val long: kotlin/Long
|
||||
// signature: test/Primitives.long.<get-long>|-8542925932497577082[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.short|2683753303457941763[0]
|
||||
public final val short: kotlin/Short
|
||||
// signature: test/Primitives.short.<get-short>|-8651028235276253274[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+63
-21
@@ -1,23 +1,65 @@
|
||||
package test {
|
||||
// Signature: test/C|null[0]
|
||||
@Primitives(boolean = true, byte = 7.toByte(), char = \u0025 ('%'), double = -3.14.toDouble(), float = 2.72.toFloat(), int = 239017, long = 123456789123456789.toLong(), short = 239.toShort()) class C constructor()
|
||||
// Signature: test/Primitives|null[0]
|
||||
annotation class Primitives constructor(byte: Byte, char: Char, short: Short, int: Int, long: Long, float: Float, double: Double, boolean: Boolean) : Annotation {
|
||||
// Signature: test/Primitives.boolean|{}boolean[0]
|
||||
val boolean: Boolean
|
||||
// Signature: test/Primitives.byte|{}byte[0]
|
||||
val byte: Byte
|
||||
// Signature: test/Primitives.char|{}char[0]
|
||||
val char: Char
|
||||
// Signature: test/Primitives.double|{}double[0]
|
||||
val double: Double
|
||||
// Signature: test/Primitives.float|{}float[0]
|
||||
val float: Float
|
||||
// Signature: test/Primitives.int|{}int[0]
|
||||
val int: Int
|
||||
// Signature: test/Primitives.long|{}long[0]
|
||||
val long: Long
|
||||
// Signature: test/Primitives.short|{}short[0]
|
||||
val short: Short
|
||||
library {
|
||||
// module name: <primitives.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C
|
||||
// class name: test/Primitives
|
||||
|
||||
// signature: test/C|null[0]
|
||||
@test/Primitives(byte = 7.toByte(), char = '%', short = 239.toShort(), int = 239017, long = 123456789123456789L, float = 2.72f, double = -3.14, boolean = true)
|
||||
public final class test/C : kotlin/Any {
|
||||
|
||||
// signature: test/C.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/Primitives|null[0]
|
||||
public final annotation class test/Primitives : kotlin/Annotation {
|
||||
|
||||
// signature: test/Primitives.<init>|<init>(kotlin.Byte;kotlin.Char;kotlin.Short;kotlin.Int;kotlin.Long;kotlin.Float;kotlin.Double;kotlin.Boolean){}[0]
|
||||
public constructor(byte: kotlin/Byte, char: kotlin/Char, short: kotlin/Short, int: kotlin/Int, long: kotlin/Long, float: kotlin/Float, double: kotlin/Double, boolean: kotlin/Boolean)
|
||||
|
||||
// signature: test/Primitives.boolean|{}boolean[0]
|
||||
public final val boolean: kotlin/Boolean
|
||||
// signature: test/Primitives.boolean.<get-boolean>|<get-boolean>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.byte|{}byte[0]
|
||||
public final val byte: kotlin/Byte
|
||||
// signature: test/Primitives.byte.<get-byte>|<get-byte>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.char|{}char[0]
|
||||
public final val char: kotlin/Char
|
||||
// signature: test/Primitives.char.<get-char>|<get-char>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.double|{}double[0]
|
||||
public final val double: kotlin/Double
|
||||
// signature: test/Primitives.double.<get-double>|<get-double>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.float|{}float[0]
|
||||
public final val float: kotlin/Float
|
||||
// signature: test/Primitives.float.<get-float>|<get-float>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.int|{}int[0]
|
||||
public final val int: kotlin/Int
|
||||
// signature: test/Primitives.int.<get-int>|<get-int>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.long|{}long[0]
|
||||
public final val long: kotlin/Long
|
||||
// signature: test/Primitives.long.<get-long>|<get-long>(){}[0]
|
||||
public final get
|
||||
|
||||
// signature: test/Primitives.short|{}short[0]
|
||||
public final val short: kotlin/Short
|
||||
// signature: test/Primitives.short.<get-short>|<get-short>(){}[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
package test
|
||||
|
||||
annotation class JustString(val string: String)
|
||||
|
||||
Vendored
+38
-7
@@ -1,10 +1,41 @@
|
||||
package test {
|
||||
@JustString(string = "kotlin") @StringArray(stringArray = {}) class C1 constructor()
|
||||
@StringArray(stringArray = {"java", ""}) class C2 constructor()
|
||||
annotation class JustString constructor(string: String) : Annotation {
|
||||
val string: String
|
||||
library {
|
||||
// module name: <string.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/JustString
|
||||
// class name: test/StringArray
|
||||
|
||||
@test/JustString(string = "kotlin")
|
||||
@test/StringArray(stringArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
annotation class StringArray constructor(stringArray: Array<String>) : Annotation {
|
||||
val stringArray: Array<String>
|
||||
|
||||
@test/StringArray(stringArray = ["java", ""])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
|
||||
public final annotation class test/JustString : kotlin/Annotation {
|
||||
|
||||
public constructor(string: kotlin/String)
|
||||
|
||||
public final val string: kotlin/String
|
||||
public final get
|
||||
}
|
||||
|
||||
public final annotation class test/StringArray : kotlin/Annotation {
|
||||
|
||||
public constructor(stringArray: kotlin/Array<kotlin/String>)
|
||||
|
||||
public final val stringArray: kotlin/Array<kotlin/String>
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/string.v1.txt
Vendored
+50
-13
@@ -1,16 +1,53 @@
|
||||
package test {
|
||||
// Signature: test/C1|null[0]
|
||||
@JustString(string = "kotlin") @StringArray(stringArray = {}) class C1 constructor()
|
||||
// Signature: test/C2|null[0]
|
||||
@StringArray(stringArray = {"java", ""}) class C2 constructor()
|
||||
// Signature: test/JustString|null[0]
|
||||
annotation class JustString constructor(string: String) : Annotation {
|
||||
// Signature: test/JustString.string|-528183805128847417[0]
|
||||
val string: String
|
||||
library {
|
||||
// module name: <string.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/JustString
|
||||
// class name: test/StringArray
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/JustString(string = "kotlin")
|
||||
@test/StringArray(stringArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
// Signature: test/StringArray|null[0]
|
||||
annotation class StringArray constructor(stringArray: Array<String>) : Annotation {
|
||||
// Signature: test/StringArray.stringArray|3224078221487065108[0]
|
||||
val stringArray: Array<String>
|
||||
|
||||
// signature: test/C2|null[0]
|
||||
@test/StringArray(stringArray = ["java", ""])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C2.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/JustString|null[0]
|
||||
public final annotation class test/JustString : kotlin/Annotation {
|
||||
|
||||
// signature: test/JustString.<init>|1280618353163213788[0]
|
||||
public constructor(string: kotlin/String)
|
||||
|
||||
// signature: test/JustString.string|-528183805128847417[0]
|
||||
public final val string: kotlin/String
|
||||
// signature: test/JustString.string.<get-string>|3519820768600764381[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/StringArray|null[0]
|
||||
public final annotation class test/StringArray : kotlin/Annotation {
|
||||
|
||||
// signature: test/StringArray.<init>|5393043463829665764[0]
|
||||
public constructor(stringArray: kotlin/Array<kotlin/String>)
|
||||
|
||||
// signature: test/StringArray.stringArray|3224078221487065108[0]
|
||||
public final val stringArray: kotlin/Array<kotlin/String>
|
||||
// signature: test/StringArray.stringArray.<get-stringArray>|-999420313937698549[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
native/native.tests/testData/klib/dump-metadata/builtinsSerializer/annotationArguments/string.v2.txt
Vendored
+50
-13
@@ -1,16 +1,53 @@
|
||||
package test {
|
||||
// Signature: test/C1|null[0]
|
||||
@JustString(string = "kotlin") @StringArray(stringArray = {}) class C1 constructor()
|
||||
// Signature: test/C2|null[0]
|
||||
@StringArray(stringArray = {"java", ""}) class C2 constructor()
|
||||
// Signature: test/JustString|null[0]
|
||||
annotation class JustString constructor(string: String) : Annotation {
|
||||
// Signature: test/JustString.string|{}string[0]
|
||||
val string: String
|
||||
library {
|
||||
// module name: <string.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/C1
|
||||
// class name: test/C2
|
||||
// class name: test/JustString
|
||||
// class name: test/StringArray
|
||||
|
||||
// signature: test/C1|null[0]
|
||||
@test/JustString(string = "kotlin")
|
||||
@test/StringArray(stringArray = [])
|
||||
public final class test/C1 : kotlin/Any {
|
||||
|
||||
// signature: test/C1.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
// Signature: test/StringArray|null[0]
|
||||
annotation class StringArray constructor(stringArray: Array<String>) : Annotation {
|
||||
// Signature: test/StringArray.stringArray|{}stringArray[0]
|
||||
val stringArray: Array<String>
|
||||
|
||||
// signature: test/C2|null[0]
|
||||
@test/StringArray(stringArray = ["java", ""])
|
||||
public final class test/C2 : kotlin/Any {
|
||||
|
||||
// signature: test/C2.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
|
||||
// signature: test/JustString|null[0]
|
||||
public final annotation class test/JustString : kotlin/Annotation {
|
||||
|
||||
// signature: test/JustString.<init>|<init>(kotlin.String){}[0]
|
||||
public constructor(string: kotlin/String)
|
||||
|
||||
// signature: test/JustString.string|{}string[0]
|
||||
public final val string: kotlin/String
|
||||
// signature: test/JustString.string.<get-string>|<get-string>(){}[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/StringArray|null[0]
|
||||
public final annotation class test/StringArray : kotlin/Annotation {
|
||||
|
||||
// signature: test/StringArray.<init>|<init>(kotlin.Array<kotlin.String>){}[0]
|
||||
public constructor(stringArray: kotlin/Array<kotlin/String>)
|
||||
|
||||
// signature: test/StringArray.stringArray|{}stringArray[0]
|
||||
public final val stringArray: kotlin/Array<kotlin/String>
|
||||
// signature: test/StringArray.stringArray.<get-stringArray>|<get-stringArray>(){}[0]
|
||||
public final get
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
library {
|
||||
// module name: <varargs.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/My
|
||||
// class name: test/ann
|
||||
// class name: test/annotated
|
||||
|
||||
public final enum class test/My : kotlin/Enum<test/My> {
|
||||
|
||||
private constructor()
|
||||
|
||||
ALPHA,
|
||||
|
||||
BETA,
|
||||
|
||||
OMEGA,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
|
||||
public final annotation class test/ann : kotlin/Annotation {
|
||||
|
||||
public constructor(vararg m: test/My /* kotlin/Array<out test/My> */)
|
||||
|
||||
public final val m: kotlin/Array<out test/My>
|
||||
public final get
|
||||
}
|
||||
|
||||
@test/ann(m = [test/My.ALPHA, test/My.BETA])
|
||||
public final annotation class test/annotated : kotlin/Annotation {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+47
-8
@@ -1,11 +1,50 @@
|
||||
package test {
|
||||
enum class My private constructor() : Enum<My> {
|
||||
enum entry ALPHA
|
||||
enum entry BETA
|
||||
enum entry OMEGA
|
||||
library {
|
||||
// module name: <varargs.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/My
|
||||
// class name: test/My.ALPHA
|
||||
// class name: test/My.BETA
|
||||
// class name: test/My.OMEGA
|
||||
// class name: test/ann
|
||||
// class name: test/annotated
|
||||
|
||||
public final enum class test/My : kotlin/Enum<test/My> {
|
||||
|
||||
private constructor()
|
||||
|
||||
ALPHA,
|
||||
|
||||
BETA,
|
||||
|
||||
OMEGA,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
annotation class ann constructor(vararg m: My) : Annotation {
|
||||
val m: Array<out My>
|
||||
|
||||
public final enum entry test/My.ALPHA : test/My {
|
||||
}
|
||||
@ann(m = {My.ALPHA, My.BETA}) annotation class annotated constructor() : Annotation
|
||||
|
||||
public final enum entry test/My.BETA : test/My {
|
||||
}
|
||||
|
||||
public final enum entry test/My.OMEGA : test/My {
|
||||
}
|
||||
|
||||
public final annotation class test/ann : kotlin/Annotation {
|
||||
|
||||
public constructor(vararg m: test/My /* kotlin/Array<out test/My> */)
|
||||
|
||||
public final val m: kotlin/Array<out test/My>
|
||||
public final get
|
||||
}
|
||||
|
||||
@test/ann(m = [test/My.ALPHA, test/My.BETA])
|
||||
public final annotation class test/annotated : kotlin/Annotation {
|
||||
|
||||
public constructor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
library {
|
||||
// module name: <varargs.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/My
|
||||
// class name: test/ann
|
||||
// class name: test/annotated
|
||||
|
||||
// signature: test/My|null[0]
|
||||
public final enum class test/My : kotlin/Enum<test/My> {
|
||||
|
||||
// signature: test/My.<init>|-5645683436151566731[0]
|
||||
private constructor()
|
||||
|
||||
// signature: test/My.ALPHA|null[0]
|
||||
ALPHA,
|
||||
|
||||
// signature: test/My.BETA|null[0]
|
||||
BETA,
|
||||
|
||||
// signature: test/My.OMEGA|null[0]
|
||||
OMEGA,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
|
||||
// signature: test/ann|null[0]
|
||||
public final annotation class test/ann : kotlin/Annotation {
|
||||
|
||||
// signature: test/ann.<init>|-2563184725332266251[0]
|
||||
public constructor(vararg m: test/My /* kotlin/Array<out test/My> */)
|
||||
|
||||
// signature: test/ann.m|1584387991504031144[0]
|
||||
public final val m: kotlin/Array<out test/My>
|
||||
// signature: test/ann.m.<get-m>|-4080345507792793848[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/annotated|null[0]
|
||||
@test/ann(m = [test/My.ALPHA, test/My.BETA])
|
||||
public final annotation class test/annotated : kotlin/Annotation {
|
||||
|
||||
// signature: test/annotated.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
}
|
||||
}
|
||||
+61
-15
@@ -1,18 +1,64 @@
|
||||
package test {
|
||||
// Signature: test/My|null[0]
|
||||
enum class My private constructor() : Enum<My> {
|
||||
// Signature: test/My.ALPHA|null[0]
|
||||
enum entry ALPHA
|
||||
// Signature: test/My.BETA|null[0]
|
||||
enum entry BETA
|
||||
// Signature: test/My.OMEGA|null[0]
|
||||
enum entry OMEGA
|
||||
library {
|
||||
// module name: <varargs.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/My
|
||||
// class name: test/My.ALPHA
|
||||
// class name: test/My.BETA
|
||||
// class name: test/My.OMEGA
|
||||
// class name: test/ann
|
||||
// class name: test/annotated
|
||||
|
||||
// signature: test/My|null[0]
|
||||
public final enum class test/My : kotlin/Enum<test/My> {
|
||||
|
||||
// signature: test/My.<init>|-5645683436151566731[0]
|
||||
private constructor()
|
||||
|
||||
// signature: test/My.ALPHA|null[0]
|
||||
ALPHA,
|
||||
|
||||
// signature: test/My.BETA|null[0]
|
||||
BETA,
|
||||
|
||||
// signature: test/My.OMEGA|null[0]
|
||||
OMEGA,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
// Signature: test/ann|null[0]
|
||||
annotation class ann constructor(vararg m: My) : Annotation {
|
||||
// Signature: test/ann.m|1584387991504031144[0]
|
||||
val m: Array<out My>
|
||||
|
||||
// signature: test/My.ALPHA|null[0]
|
||||
public final enum entry test/My.ALPHA : test/My {
|
||||
}
|
||||
// Signature: test/annotated|null[0]
|
||||
@ann(m = {My.ALPHA, My.BETA}) annotation class annotated constructor() : Annotation
|
||||
|
||||
// signature: test/My.BETA|null[0]
|
||||
public final enum entry test/My.BETA : test/My {
|
||||
}
|
||||
|
||||
// signature: test/My.OMEGA|null[0]
|
||||
public final enum entry test/My.OMEGA : test/My {
|
||||
}
|
||||
|
||||
// signature: test/ann|null[0]
|
||||
public final annotation class test/ann : kotlin/Annotation {
|
||||
|
||||
// signature: test/ann.<init>|-2563184725332266251[0]
|
||||
public constructor(vararg m: test/My /* kotlin/Array<out test/My> */)
|
||||
|
||||
// signature: test/ann.m|1584387991504031144[0]
|
||||
public final val m: kotlin/Array<out test/My>
|
||||
// signature: test/ann.m.<get-m>|-4080345507792793848[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/annotated|null[0]
|
||||
@test/ann(m = [test/My.ALPHA, test/My.BETA])
|
||||
public final annotation class test/annotated : kotlin/Annotation {
|
||||
|
||||
// signature: test/annotated.<init>|-5645683436151566731[0]
|
||||
public constructor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
library {
|
||||
// module name: <varargs.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/My
|
||||
// class name: test/ann
|
||||
// class name: test/annotated
|
||||
|
||||
// signature: test/My|null[0]
|
||||
public final enum class test/My : kotlin/Enum<test/My> {
|
||||
|
||||
// signature: test/My.<init>|<init>(){}[0]
|
||||
private constructor()
|
||||
|
||||
// signature: test/My.ALPHA|null[0]
|
||||
ALPHA,
|
||||
|
||||
// signature: test/My.BETA|null[0]
|
||||
BETA,
|
||||
|
||||
// signature: test/My.OMEGA|null[0]
|
||||
OMEGA,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
|
||||
// signature: test/ann|null[0]
|
||||
public final annotation class test/ann : kotlin/Annotation {
|
||||
|
||||
// signature: test/ann.<init>|<init>(kotlin.Array<out|test.My>...){}[0]
|
||||
public constructor(vararg m: test/My /* kotlin/Array<out test/My> */)
|
||||
|
||||
// signature: test/ann.m|{}m[0]
|
||||
public final val m: kotlin/Array<out test/My>
|
||||
// signature: test/ann.m.<get-m>|<get-m>(){}[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/annotated|null[0]
|
||||
@test/ann(m = [test/My.ALPHA, test/My.BETA])
|
||||
public final annotation class test/annotated : kotlin/Annotation {
|
||||
|
||||
// signature: test/annotated.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
}
|
||||
}
|
||||
+61
-15
@@ -1,18 +1,64 @@
|
||||
package test {
|
||||
// Signature: test/My|null[0]
|
||||
enum class My private constructor() : Enum<My> {
|
||||
// Signature: test/My.ALPHA|null[0]
|
||||
enum entry ALPHA
|
||||
// Signature: test/My.BETA|null[0]
|
||||
enum entry BETA
|
||||
// Signature: test/My.OMEGA|null[0]
|
||||
enum entry OMEGA
|
||||
library {
|
||||
// module name: <varargs.kt>
|
||||
|
||||
library fragment {
|
||||
// package name: test
|
||||
|
||||
// class name: test/My
|
||||
// class name: test/My.ALPHA
|
||||
// class name: test/My.BETA
|
||||
// class name: test/My.OMEGA
|
||||
// class name: test/ann
|
||||
// class name: test/annotated
|
||||
|
||||
// signature: test/My|null[0]
|
||||
public final enum class test/My : kotlin/Enum<test/My> {
|
||||
|
||||
// signature: test/My.<init>|<init>(){}[0]
|
||||
private constructor()
|
||||
|
||||
// signature: test/My.ALPHA|null[0]
|
||||
ALPHA,
|
||||
|
||||
// signature: test/My.BETA|null[0]
|
||||
BETA,
|
||||
|
||||
// signature: test/My.OMEGA|null[0]
|
||||
OMEGA,
|
||||
|
||||
// has Enum.entries
|
||||
}
|
||||
// Signature: test/ann|null[0]
|
||||
annotation class ann constructor(vararg m: My) : Annotation {
|
||||
// Signature: test/ann.m|{}m[0]
|
||||
val m: Array<out My>
|
||||
|
||||
// signature: test/My.ALPHA|null[0]
|
||||
public final enum entry test/My.ALPHA : test/My {
|
||||
}
|
||||
// Signature: test/annotated|null[0]
|
||||
@ann(m = {My.ALPHA, My.BETA}) annotation class annotated constructor() : Annotation
|
||||
|
||||
// signature: test/My.BETA|null[0]
|
||||
public final enum entry test/My.BETA : test/My {
|
||||
}
|
||||
|
||||
// signature: test/My.OMEGA|null[0]
|
||||
public final enum entry test/My.OMEGA : test/My {
|
||||
}
|
||||
|
||||
// signature: test/ann|null[0]
|
||||
public final annotation class test/ann : kotlin/Annotation {
|
||||
|
||||
// signature: test/ann.<init>|<init>(kotlin.Array<out|test.My>...){}[0]
|
||||
public constructor(vararg m: test/My /* kotlin/Array<out test/My> */)
|
||||
|
||||
// signature: test/ann.m|{}m[0]
|
||||
public final val m: kotlin/Array<out test/My>
|
||||
// signature: test/ann.m.<get-m>|<get-m>(){}[0]
|
||||
public final get
|
||||
}
|
||||
|
||||
// signature: test/annotated|null[0]
|
||||
@test/ann(m = [test/My.ALPHA, test/My.BETA])
|
||||
public final annotation class test/annotated : kotlin/Annotation {
|
||||
|
||||
// signature: test/annotated.<init>|<init>(){}[0]
|
||||
public constructor()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user