在命令行中,使用javadoc命令,提取注释,为什么提取出来那么多html文件,却没有一个文件时关于注释信息的啊?
巴扎黑
巴扎黑 2017-04-17 16:46:38
0
1
352

我的代码段如下:

//: object/Documentation1.java
/** A class comment */
public class Documentation1 {
  /** A field comment */
  public int i;
  /** A method comment */
  public void f() {}
} ///:~

这段代码里面受注释的内容不应该被提取出来吗?
但使用如下的命令:

得到很多html文件
但打开来之后,大多为这样,里面根本没有注释的内容啊

巴扎黑
巴扎黑

reply all(1)
左手右手慢动作

Look carefully at A class comment and A field comment. Aren’t they both in the screenshots? …

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!