Files
kotlin/compiler/testData/loadJava/compiledKotlin/annotations/classMembers/HiddenConstructorWithInlineClassParameters.txt
Dmitry Petrov 1b519b340e Generate metadata and annotations for hidden constructor
Reflection expects to see a callable method for a hidden constructor,
thus, it should be a synthetic accessor.
JVM method signature in metadata should point to the synthetic accessor.
Annotations for hidden constructor should be written on the synthetic
accessor.
2018-09-12 15:37:20 +03: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
}
public final inline class Z {
/*primary*/ public constructor Z(/*0*/ x: kotlin.Int)
public final val x: kotlin.Int
public final fun <get-x>(): kotlin.Int
}