adding comments to the package gives us a clear idea of how the package works, and that it's more clear what the core issues are in the package, so it's important to add a package annotation.
when you add a Java file in Eclipse, you are not allowed to add a Java file with name Package-info. But we can create an ordinary file file with the wizard, and then name the file name Package-info.java.
==================================
http://esyscn.com/thread-62884-1-1.html
===============================
set up Eclipse code templates
Eclipse Menu: Window->preferences, expand Java->editor->templates, create a new Javadoc type template: Name set to: Package Context selection: Javadoc pattern Input:
XXX realizes <a href= "#" target= "_blank" >a name</a>. * <p> *
use in development
Under the package you want to create the package Note: Package-info.java file:
/** * * * * * * package org.skzr.logging;
In the second line of input: "Packa" press atl+/to pull up the previous set of templates, and then enter their interests, the final effect is as follows:
/** * slf4j localization log extension implementation <a href= "http://code.google.com/p/slf4j-local" target= "_blank" >