Doxygen:如何在文档中引用java通用接口
我有一些带有doxygen文档的Java接口Doxygen:如何在文档中引用java通用接口,java,doxygen,Java,Doxygen,我有一些带有doxygen文档的Java接口 public interface Service< T , U > { ... } 看起来@ref对“不友好,我试图用以下示例重现您的问题: /** A service */ public interface Service< T , U > { } /** @mainpage * See @ref Service<T,U> "the service interface" for details.
public interface Service< T , U > {
...
}
看起来@ref对“不友好,我试图用以下示例重现您的问题:
/** A service */
public interface Service< T , U > {
}
/** @mainpage
* See @ref Service<T,U> "the service interface" for details.
*/
/**服务*/
公共接口服务{
}
/**@mainpage
*有关详细信息,请参阅@ref Service“服务接口”。
*/
但是它工作得很好(正如我所期望的)。您尝试过@ref Service吗?是的,当然。结果是相同的-警告。而且很清楚为什么要为服务创建-docu,所以我应该以某种方式引用它…在从doxygen版本1.7.6.1迁移到1.8.4后,问题解决了。谢谢您的帮助
/** A service */
public interface Service< T , U > {
}
/** @mainpage
* See @ref Service<T,U> "the service interface" for details.
*/