mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
12 lines
328 B
Kotlin
12 lines
328 B
Kotlin
// MODE: usages
|
|
|
|
/*<# block [ 1 Usage] #>*/
|
|
interface SomeInterface {
|
|
/*<# block [ 2 Usages] #>*/
|
|
val someProperty = "initialized"
|
|
fun someFun() = "it's " + someProperty // <== (1):
|
|
}
|
|
|
|
fun main() {
|
|
val instance = object: SomeInterface {}
|
|
val someString = instance.someProperty // <== (2): call on an instance |