【发布时间】:2021-07-13 12:24:45
【问题描述】:
我有一个记录在案的类,另一个正在实现该接口。我怎样才能继承文档?
class A {
///Documentation
void documented(){}
}
class B implements A {
var a = A();
///@inherit from A
void documented(){}
}
// later I have instance of B and I would like to have documentation on method.
B().documented(); // documentation is empty
【问题讨论】: