Documentation doxygenparsejavadoc?
我很好奇Doxygen是否解析Javadoc注释也就是说,doxygen是否接受类似的内容:Documentation doxygenparsejavadoc?,documentation,javadoc,doxygen,documentation-generation,Documentation,Javadoc,Doxygen,Documentation Generation,我很好奇Doxygen是否解析Javadoc注释也就是说,doxygen是否接受类似的内容: /** Greet with a "Hello" message. @param a string containing the name of the person or entity @ret return a string containing "Hello" and the name of the greeted person or entity. */ public Stri
/**
Greet with a "Hello" message.
@param a string containing the name of the person or entity
@ret return a string containing "Hello" and the name of the greeted person or entity.
*/
public String sayHello(string name)
{
return "Hello" + name;
}
还有一件事,有没有更正确的方法来做这些评论,doxygen风格?doxygen接受与JavaDoc类似的语法,但并不完全相同。除了
@ret
命令外,您的示例注释将被识别。doxygen中的正确命令是@return
以下是doxygen网站上的示例: