/** * Summary * * ${code example1} * ${code example2} * ${code X.example3} * ${code X.Y.example4} */ val property = "test" fun example1(node: String) = if (true) { println(property) } fun example2(node: String) { if (true) { println(property) } } class X { fun example3(node: String) { if (true) { println(property) } } class Y { fun example4(node: String) { if (true) { println(property) } } } }