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