Files
kotlin-fork/idea/testData/stubs/SecondaryConstructors.kt
T
Pavel V. Talanov c0a031eafe Support secondary constructors in decompiled text
Build cls stubs for secondary constructors
2015-03-13 20:17:32 +03:00

27 lines
439 B
Kotlin

package test
class SecondaryConstructors(x: Boolean) {
init {
}
anno constructor(x: String) : this(x == "abc") {
}
init {
}
private constructor(x: Int) : this(x < 0) {
}
inner class Inner<T : String, G : Int> where G : Number {
constructor(x: T, g: G) {
}
}
class Nested {
anno constructor(z: Int) {}
internal constructor() {}
}
}
annotation class anno