Files
kotlin-fork/j2k/testData/fileOrElement/constructors/constructorAnnotations.kt
T
2015-05-28 00:17:03 +03:00

16 lines
350 B
Kotlin
Vendored

import javaApi.Anon5
class A
@Anon5(10)
constructor(private val a: Int, private val b: Int) {
deprecated("") // this constructor will not be replaced by default parameter value in primary because of this annotation
public constructor(a: Int) : this(a, 1) {
}
}
class B @Anon5(11)
constructor()
class C @Anon5(12)
private constructor()