Files
kotlin-fork/j2k/tests/testData/ast/annotations/jetbrainsNotNullChainExpr.ide.kt
T
Pavel Talanov d69c61c972 Converter:
Preserve white spaces for top members (classes, package statements, comments)
2013-12-22 16:49:54 +04:00

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()
}
}