什么是包描述符?

What is a package descriptor?

在查看如何创建包-info.java 文件时遇到了这个术语。 原文如下:

1.Create a file package-info.java in your package to document
2.Add the package descriptor
3.Add a comment (/** ...*/) before the package declaration

我相信它只是说放置包装声明。喜欢

/**
 * stuff here
 */
package yourpackage;

添加要添加到 javadoc 的元素作为包的描述很有用。

this example