Files
kotlin-fork/compiler/testData/asJava/lightClasses/lightClassByPsi/constructors.kt
T
2023-01-02 15:05:38 +00:00

20 lines
438 B
Kotlin
Vendored

class TestConstructor private constructor(p: Int = 1)
class AAA(vararg a: Int, f: () -> Unit) {}
class B {
@Deprecated("", level = DeprecationLevel.HIDDEN)
constructor()
}
class Outer {
inner class Inner(x: Int = 1, y: String = "")
class Nested(x: Int = 1, y: String = "")
}
sealed class A(val x: String? = null) {
class C : A()
}
class ClassWithPrivateCtor private constructor(
public val property: Set<Int>
)