mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8247382: doclint errors (missing comments) in jdk.compiler and jdk.javadoc
Reviewed-by: darcy
This commit is contained in:
parent
898c638b95
commit
c55b06a4d5
3 changed files with 9 additions and 0 deletions
|
@ -38,6 +38,8 @@ public class Main {
|
||||||
/** Main entry point for the launcher.
|
/** Main entry point for the launcher.
|
||||||
* Note: This method calls System.exit.
|
* Note: This method calls System.exit.
|
||||||
* @param args command line arguments
|
* @param args command line arguments
|
||||||
|
* @throws Exception only if an uncaught internal exception occurs;
|
||||||
|
* just retained for historical compatibility
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
System.exit(compile(args));
|
System.exit(compile(args));
|
||||||
|
|
|
@ -138,6 +138,9 @@ public interface DocletEnvironment {
|
||||||
*/
|
*/
|
||||||
Kind getFileKind(TypeElement type);
|
Kind getFileKind(TypeElement type);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The mode specifying the level of detail of module documentation.
|
||||||
|
*/
|
||||||
enum ModuleMode {
|
enum ModuleMode {
|
||||||
/** Indicate API level documentation is required */
|
/** Indicate API level documentation is required */
|
||||||
API,
|
API,
|
||||||
|
|
|
@ -70,6 +70,10 @@ public class StandardDoclet implements Doclet {
|
||||||
|
|
||||||
private final HtmlDoclet htmlDoclet;
|
private final HtmlDoclet htmlDoclet;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates an instance of the standard doclet, used to generate HTML-formatted
|
||||||
|
* documentation.
|
||||||
|
*/
|
||||||
public StandardDoclet() {
|
public StandardDoclet() {
|
||||||
htmlDoclet = new HtmlDoclet(this);
|
htmlDoclet = new HtmlDoclet(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue