【发布时间】:2019-12-18 21:08:56
【问题描述】:
考虑这个 Kotlin 类的类注释:
/**
* This class has two methods, one that takes one parameters ([foo]),
* and another one that takes two parameters ([foo]).
**/
class Clazz {
/* Foo with one. */
fun foo(a: Int) { }
/* Foo with two. */
fun foo(a: Int, b: Int) { }
}
我希望第二个链接指向第二个函数(具有两个参数的函数)。
这在 Kotlin 文档语言中是否可行?
【问题讨论】: