mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 15:51:01 +00:00
18 lines
326 B
Kotlin
Vendored
18 lines
326 B
Kotlin
Vendored
annotation class AllOpen
|
|
|
|
@AllOpen
|
|
final class Test1
|
|
|
|
@AllOpen
|
|
class Test2 {
|
|
fun method1() {}
|
|
val prop1: String = ""
|
|
|
|
final fun method2() {}
|
|
final val prop2: String = ""
|
|
final var prop3: String = ""
|
|
|
|
// Modifier 'final' is not applicable to 'setter'
|
|
// var prop4: String = ""
|
|
// final set
|
|
} |