You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
528 B

/**
* Summary
*
* @sample example1
* @sample example2
* @sample X.example3
* @sample 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)
}
}
}
}