Files
kotlin-fork/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/HiddenConstructorWithInlineClassParameters.txt
T
Ilmir Usmanov 129de76288 Value classes: Generate @JvmInline annotation for inline classes
but not for value classes.
Since inline classes and value classes share the same flag, we use
presence of the annotation to distinguish them.
2020-12-01 23:45:47 +01:00

32 lines
1.1 KiB
Plaintext
Vendored

package test
public final annotation class Ann : kotlin.Annotation {
/*primary*/ public constructor Ann()
}
public sealed class Sealed {
/*primary*/ @test.Ann private constructor Sealed(/*0*/ @test.Ann z: test.Z)
public final val z: test.Z
public final fun <get-z>(): test.Z
public final class Derived : test.Sealed {
/*primary*/ @test.Ann public constructor Derived(/*0*/ z: test.Z)
public final override /*1*/ /*fake_override*/ val z: test.Z
public final override /*1*/ /*fake_override*/ fun <get-z>(): test.Z
}
}
public final class Test {
/*primary*/ @test.Ann public constructor Test(/*0*/ @test.Ann z: test.Z)
@test.Ann public constructor Test(/*0*/ z: test.Z, /*1*/ @test.Ann a: kotlin.Int)
@test.Ann private constructor Test(/*0*/ z: test.Z, /*1*/ @test.Ann s: kotlin.String)
public final val z: test.Z
public final fun <get-z>(): test.Z
}
@kotlin.jvm.JvmInline /* annotation class not found */ public final value class Z {
/*primary*/ public constructor Z(/*0*/ x: kotlin.Int)
public final val x: kotlin.Int
public final fun <get-x>(): kotlin.Int
}