mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
22 lines
275 B
Kotlin
22 lines
275 B
Kotlin
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
class ClassVal() {
|
|
val property1 = 1
|
|
get
|
|
|
|
internal val property2 = 1
|
|
get
|
|
|
|
private val property3 = Object()
|
|
get
|
|
|
|
protected val property4: String = ""
|
|
get
|
|
|
|
public val property5: Int = 1
|
|
get
|
|
}
|
|
|
|
|