d69c61c972
Preserve white spaces for top members (classes, package statements, comments)
20 lines
413 B
Kotlin
20 lines
413 B
Kotlin
package test
|
|
|
|
open class Foo() {
|
|
open fun execute() {
|
|
}
|
|
}
|
|
|
|
open class Bar() {
|
|
var fooNotNull: Foo = Foo()
|
|
var fooNullable: Foo? = null
|
|
}
|
|
|
|
open class Test() {
|
|
public open fun test(barNotNull: Bar, barNullable: Bar?) {
|
|
barNotNull.fooNotNull.execute()
|
|
barNotNull.fooNullable?.execute()
|
|
barNullable?.fooNotNull?.execute()
|
|
barNullable?.fooNullable?.execute()
|
|
}
|
|
} |