8284387: Fix formatting of doc comments in jdk.javadoc
Reviewed-by: jjg
This commit is contained in:
parent
4451257b14
commit
5a21397f70
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -75,7 +75,6 @@ import com.sun.source.doctree.DocTree;
|
|||||||
* for the Standard Doclet</a>
|
* for the Standard Doclet</a>
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface Taglet {
|
public interface Taglet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -379,6 +379,5 @@
|
|||||||
* @see jdk.javadoc.doclet.Doclet
|
* @see jdk.javadoc.doclet.Doclet
|
||||||
* @see jdk.javadoc.doclet.DocletEnvironment
|
* @see jdk.javadoc.doclet.DocletEnvironment
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package jdk.javadoc.doclet;
|
package jdk.javadoc.doclet;
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This package provides the javadoc implementation of relevant
|
* This package provides the javadoc implementation of relevant
|
||||||
* public API defined in {@link javax.tools}, which provides an
|
* public API defined in {@link javax.tools}, which provides an
|
||||||
* API alternative to invoking javadoc via the command line.
|
* API alternative to invoking javadoc via the command line.
|
||||||
*/
|
*/
|
||||||
package jdk.javadoc.internal.api;
|
package jdk.javadoc.internal.api;
|
||||||
|
@ -28,7 +28,7 @@ package jdk.javadoc.internal.doclets.formats.html;
|
|||||||
import jdk.javadoc.internal.doclets.formats.html.markup.Comment;
|
import jdk.javadoc.internal.doclets.formats.html.markup.Comment;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Marker comments to identify regions in the generated files.
|
* Marker comments to identify regions in the generated files.
|
||||||
*/
|
*/
|
||||||
public class MarkerComments {
|
public class MarkerComments {
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ import jdk.javadoc.internal.doclets.toolkit.util.DocPaths;
|
|||||||
import jdk.javadoc.internal.doclets.toolkit.util.IndexItem;
|
import jdk.javadoc.internal.doclets.toolkit.util.IndexItem;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generates the Serialized Form Information Page, <i>serialized-form.html</i>.
|
* Generates the Serialized Form Information Page, <i>serialized-form.html</i>.
|
||||||
*/
|
*/
|
||||||
public class SerializedFormWriterImpl extends SubWriterHolderWriter
|
public class SerializedFormWriterImpl extends SubWriterHolderWriter
|
||||||
implements SerializedFormWriter {
|
implements SerializedFormWriter {
|
||||||
|
@ -81,7 +81,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils.PreviewFlagProvider;
|
|||||||
/**
|
/**
|
||||||
* The taglet writer that writes HTML.
|
* The taglet writer that writes HTML.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TagletWriterImpl extends TagletWriter {
|
public class TagletWriterImpl extends TagletWriter {
|
||||||
/**
|
/**
|
||||||
* A class that provides the information about the enclosing context for
|
* A class that provides the information about the enclosing context for
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
package jdk.javadoc.internal.doclets.formats.html.markup;
|
package jdk.javadoc.internal.doclets.formats.html.markup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supported DOCTYPE declarations.
|
* Supported DOCTYPE declarations.
|
||||||
*/
|
*/
|
||||||
public enum DocType {
|
public enum DocType {
|
||||||
HTML5("<!DOCTYPE HTML>");
|
HTML5("<!DOCTYPE HTML>");
|
||||||
|
@ -901,8 +901,8 @@ public enum HtmlStyle {
|
|||||||
externalLink,
|
externalLink,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The class of a {@code section} element containing a hierarchical
|
* The class of a {@code section} element containing a hierarchical
|
||||||
* tree view.
|
* tree view.
|
||||||
*/
|
*/
|
||||||
hierarchy,
|
hierarchy,
|
||||||
|
|
||||||
|
@ -24,14 +24,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This package contains classes that create and write HTML markup tags.
|
* This package contains classes that create and write HTML markup tags.
|
||||||
*
|
*
|
||||||
* <p>The primary low level classes are
|
* <p>The primary low level classes are
|
||||||
* {@link jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree HtmlTree}
|
* {@link jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree HtmlTree}
|
||||||
* and other subtypes of {@code Content}. In addition, there are mid-level builders
|
* and other subtypes of {@code Content}. In addition, there are mid-level builders
|
||||||
* like {@link jdk.javadoc.internal.doclets.formats.html.TableHeader TableHeader}
|
* like {@link jdk.javadoc.internal.doclets.formats.html.TableHeader TableHeader}
|
||||||
* and {@link jdk.javadoc.internal.doclets.formats.html.Table Table}
|
* and {@link jdk.javadoc.internal.doclets.formats.html.Table Table}
|
||||||
* to help build more complex HTML trees.
|
* to help build more complex HTML trees.
|
||||||
*
|
*
|
||||||
* @see <a href="https://html.spec.whatwg.org/multipage/">HTML: Living Standard</a>
|
* @see <a href="https://html.spec.whatwg.org/multipage/">HTML: Living Standard</a>
|
||||||
* @see <a href="https://html.spec.whatwg.org/multipage/syntax,html">HTML: Living Standard: The HTML Syntax</a>
|
* @see <a href="https://html.spec.whatwg.org/multipage/syntax,html">HTML: Living Standard: The HTML Syntax</a>
|
||||||
|
@ -23,12 +23,11 @@
|
|||||||
* questions.
|
* questions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The set of low-level file-formats, to be used in conjunction with
|
* The set of low-level file-formats, to be used in conjunction with
|
||||||
* the {@link jdk.javadoc.internal.doclets.toolkit doclets.toolkit} API.
|
* the {@link jdk.javadoc.internal.doclets.toolkit doclets.toolkit} API.
|
||||||
*
|
*
|
||||||
* <p>Currently, only {@link jdk.javadoc.internal.doclets.formats.html HTML}
|
* <p>Currently, only {@link jdk.javadoc.internal.doclets.formats.html HTML}
|
||||||
* format is supported.
|
* format is supported.
|
||||||
*/
|
*/
|
||||||
package jdk.javadoc.internal.doclets.formats;
|
package jdk.javadoc.internal.doclets.formats;
|
||||||
|
@ -24,20 +24,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Doclets provide the user-selectable back ends for processing the
|
* Doclets provide the user-selectable back ends for processing the
|
||||||
* documentation comments in Java source code.
|
* documentation comments in Java source code.
|
||||||
*
|
*
|
||||||
* <p>Doclets are implementations of the {@link jdk.javadoc.doclet Doclet API}.</p>
|
* <p>Doclets are implementations of the {@link jdk.javadoc.doclet Doclet API}.</p>
|
||||||
*
|
*
|
||||||
* <p>Currently, there is only one supported doclet, the
|
* <p>Currently, there is only one supported doclet, the
|
||||||
* {@link jdk.javadoc.internal.doclets.formats.html.HtmlDoclet HtmlDoclet},
|
* {@link jdk.javadoc.internal.doclets.formats.html.HtmlDoclet HtmlDoclet},
|
||||||
* for writing API documentation in HTML. Nevertheless, in order to
|
* for writing API documentation in HTML. Nevertheless, in order to
|
||||||
* separate the high-level code for the general content of each page
|
* separate the high-level code for the general content of each page
|
||||||
* from the low-level details of how to write such content, the code is
|
* from the low-level details of how to write such content, the code is
|
||||||
* organized in two sections: a format-neutral
|
* organized in two sections: a format-neutral
|
||||||
* {@link jdk.javadoc.internal.doclets.toolkit toolkit API},
|
* {@link jdk.javadoc.internal.doclets.toolkit toolkit API},
|
||||||
* and a specific {@link jdk.javadoc.internal.doclets.formats format},
|
* and a specific {@link jdk.javadoc.internal.doclets.formats format},
|
||||||
* such as {@link jdk.javadoc.internal.doclets.formats.html HTML format}.
|
* such as {@link jdk.javadoc.internal.doclets.formats.html HTML format}.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package jdk.javadoc.internal.doclets;
|
package jdk.javadoc.internal.doclets;
|
||||||
|
@ -30,7 +30,6 @@ import javax.lang.model.element.Element;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing annotation type required member output.
|
* The interface for writing annotation type required member output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface AnnotationTypeMemberWriter extends MemberWriter {
|
public interface AnnotationTypeMemberWriter extends MemberWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,7 +32,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing class output.
|
* The interface for writing class output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface ClassWriter {
|
public interface ClassWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -66,7 +66,7 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
|||||||
import jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberTable;
|
import jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberTable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A utility class for handling documentation comments.
|
* A utility class for handling documentation comments.
|
||||||
*/
|
*/
|
||||||
public class CommentUtils {
|
public class CommentUtils {
|
||||||
|
|
||||||
|
@ -36,7 +36,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing constants summary output.
|
* The interface for writing constants summary output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface ConstantsSummaryWriter {
|
public interface ConstantsSummaryWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,7 +30,6 @@ import javax.lang.model.element.ExecutableElement;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing constructor output.
|
* The interface for writing constructor output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface ConstructorWriter extends MemberWriter {
|
public interface ConstructorWriter extends MemberWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -29,10 +29,10 @@ package jdk.javadoc.internal.doclets.toolkit;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import jdk.javadoc.internal.doclets.toolkit.util.DocPath;
|
import jdk.javadoc.internal.doclets.toolkit.util.DocPath;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The interface for copying doc-files to the output.
|
* The interface for copying doc-files to the output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface DocFilesHandler {
|
public interface DocFilesHandler {
|
||||||
void copyDocFiles() throws DocletException;
|
void copyDocFiles() throws DocletException;
|
||||||
List<DocPath> getStylesheets() throws DocletException;
|
List<DocPath> getStylesheets() throws DocletException;
|
||||||
|
@ -31,7 +31,6 @@ import javax.lang.model.element.VariableElement;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing enum constant output.
|
* The interface for writing enum constant output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface EnumConstantWriter extends MemberWriter {
|
public interface EnumConstantWriter extends MemberWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,11 +27,9 @@ package jdk.javadoc.internal.doclets.toolkit;
|
|||||||
|
|
||||||
import javax.lang.model.element.VariableElement;
|
import javax.lang.model.element.VariableElement;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The interface for writing field output.
|
* The interface for writing field output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface FieldWriter extends MemberWriter {
|
public interface FieldWriter extends MemberWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,7 +35,6 @@ import com.sun.source.doctree.DocTree;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing member summary output.
|
* The interface for writing member summary output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface MemberSummaryWriter {
|
public interface MemberSummaryWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -31,7 +31,6 @@ import javax.lang.model.type.TypeMirror;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing method output.
|
* The interface for writing method output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface MethodWriter extends MemberWriter {
|
public interface MethodWriter extends MemberWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,7 +30,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing module summary output.
|
* The interface for writing module summary output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface ModuleSummaryWriter {
|
public interface ModuleSummaryWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -28,6 +28,5 @@ package jdk.javadoc.internal.doclets.toolkit;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing class output.
|
* The interface for writing class output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface NestedClassWriter {
|
public interface NestedClassWriter {
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing package summary output.
|
* The interface for writing package summary output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface PackageSummaryWriter {
|
public interface PackageSummaryWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -30,7 +30,6 @@ import javax.lang.model.element.ExecutableElement;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing property output.
|
* The interface for writing property output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface PropertyWriter extends MemberWriter {
|
public interface PropertyWriter extends MemberWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -37,7 +37,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException;
|
|||||||
/**
|
/**
|
||||||
* The interface for writing serialized form output.
|
* The interface for writing serialized form output.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface SerializedFormWriter {
|
public interface SerializedFormWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,7 +36,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberTable;
|
|||||||
/**
|
/**
|
||||||
* The interface for a factory creates writers.
|
* The interface for a factory creates writers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface WriterFactory {
|
public interface WriterFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -47,7 +47,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
|||||||
* do is implement the ConstantsSummaryWriter interface and pass it to the
|
* do is implement the ConstantsSummaryWriter interface and pass it to the
|
||||||
* builder using a WriterFactory.
|
* builder using a WriterFactory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract class AbstractBuilder {
|
public abstract class AbstractBuilder {
|
||||||
public static class Context {
|
public static class Context {
|
||||||
/**
|
/**
|
||||||
|
@ -41,7 +41,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.ClassTree;
|
|||||||
/**
|
/**
|
||||||
* The factory for constructing builders.
|
* The factory for constructing builders.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class BuilderFactory {
|
public class BuilderFactory {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,12 +24,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This doclet-independent package has a set of classes and
|
* This doclet-independent package has a set of classes and
|
||||||
* interfaces that are the building blocks for doclets. They
|
* interfaces that are the building blocks for doclets. They
|
||||||
* define the basic structure of doclets and make doclet
|
* define the basic structure of doclets and make doclet
|
||||||
* writing much easier because they provide the content generation
|
* writing much easier because they provide the content generation
|
||||||
* code to be shared among different doclets. Builders only provide
|
* code to be shared among different doclets. Builders only provide
|
||||||
* the structure and content of API documentation.
|
* the structure and content of API documentation.
|
||||||
* They do not directly provide any style markup.
|
* They do not directly provide any style markup.
|
||||||
*/
|
*/
|
||||||
package jdk.javadoc.internal.doclets.toolkit.builders;
|
package jdk.javadoc.internal.doclets.toolkit.builders;
|
||||||
|
@ -24,9 +24,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Contains the base classes that make up a doclet. Doclets that reuse
|
* Contains the base classes that make up a doclet. Doclets that reuse
|
||||||
the functionality provided by the toolkit should have the following
|
* the functionality provided by the toolkit should have the following
|
||||||
characteristics:
|
* characteristics:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package jdk.javadoc.internal.doclets.toolkit;
|
package jdk.javadoc.internal.doclets.toolkit;
|
||||||
|
@ -45,7 +45,6 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
* displays as:
|
* displays as:
|
||||||
* <blockquote> The type {@code List<P>} </blockquote>
|
* <blockquote> The type {@code List<P>} </blockquote>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CodeTaglet extends BaseTaglet {
|
public class CodeTaglet extends BaseTaglet {
|
||||||
|
|
||||||
CodeTaglet() {
|
CodeTaglet() {
|
||||||
|
@ -35,7 +35,6 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
/**
|
/**
|
||||||
* A taglet that represents the @deprecated tag.
|
* A taglet that represents the @deprecated tag.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class DeprecatedTaglet extends BaseTaglet {
|
public class DeprecatedTaglet extends BaseTaglet {
|
||||||
|
|
||||||
public DeprecatedTaglet() {
|
public DeprecatedTaglet() {
|
||||||
|
@ -37,7 +37,6 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
* used to get the relative path to the document's root output
|
* used to get the relative path to the document's root output
|
||||||
* directory.
|
* directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class DocRootTaglet extends BaseTaglet {
|
public class DocRootTaglet extends BaseTaglet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -38,7 +38,6 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
* The enclosed text is interpreted as not containing HTML markup or
|
* The enclosed text is interpreted as not containing HTML markup or
|
||||||
* nested javadoc tags.
|
* nested javadoc tags.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class IndexTaglet extends BaseTaglet {
|
public class IndexTaglet extends BaseTaglet {
|
||||||
|
|
||||||
IndexTaglet() {
|
IndexTaglet() {
|
||||||
|
@ -44,7 +44,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
|||||||
* be used with a method. It is used to inherit documentation from overridden
|
* be used with a method. It is used to inherit documentation from overridden
|
||||||
* and implemented methods.
|
* and implemented methods.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class InheritDocTaglet extends BaseTaglet {
|
public class InheritDocTaglet extends BaseTaglet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,6 +32,7 @@ import com.sun.source.doctree.DocTree;
|
|||||||
import com.sun.source.doctree.LiteralTree;
|
import com.sun.source.doctree.LiteralTree;
|
||||||
import jdk.javadoc.doclet.Taglet.Location;
|
import jdk.javadoc.doclet.Taglet.Location;
|
||||||
import jdk.javadoc.internal.doclets.toolkit.Content;
|
import jdk.javadoc.internal.doclets.toolkit.Content;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An inline Taglet used to denote literal text.
|
* An inline Taglet used to denote literal text.
|
||||||
* For example, the text:
|
* For example, the text:
|
||||||
@ -39,7 +40,6 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
* displays as:
|
* displays as:
|
||||||
* <blockquote> {@literal a<B>c} </blockquote>
|
* <blockquote> {@literal a<B>c} </blockquote>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class LiteralTaglet extends BaseTaglet {
|
public class LiteralTaglet extends BaseTaglet {
|
||||||
|
|
||||||
LiteralTaglet() {
|
LiteralTaglet() {
|
||||||
|
@ -42,7 +42,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
|||||||
/**
|
/**
|
||||||
* A custom single-argument block tag.
|
* A custom single-argument block tag.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SimpleTaglet extends BaseTaglet implements InheritableTaglet {
|
public class SimpleTaglet extends BaseTaglet implements InheritableTaglet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,7 +36,6 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
/**
|
/**
|
||||||
* A taglet that represents the @summary tag.
|
* A taglet that represents the @summary tag.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SummaryTaglet extends BaseTaglet {
|
public class SummaryTaglet extends BaseTaglet {
|
||||||
|
|
||||||
public SummaryTaglet() {
|
public SummaryTaglet() {
|
||||||
|
@ -36,7 +36,6 @@ import java.util.EnumSet;
|
|||||||
/**
|
/**
|
||||||
* A taglet that represents the {@code @systemProperty} tag.
|
* A taglet that represents the {@code @systemProperty} tag.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class SystemPropertyTaglet extends BaseTaglet {
|
public class SystemPropertyTaglet extends BaseTaglet {
|
||||||
|
|
||||||
SystemPropertyTaglet(){
|
SystemPropertyTaglet(){
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -35,7 +35,6 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
/**
|
/**
|
||||||
* This is the Taglet interface used internally within the doclet.
|
* This is the Taglet interface used internally within the doclet.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public interface Taglet {
|
public interface Taglet {
|
||||||
/**
|
/**
|
||||||
* Returns the set of allowed locations for a block tag handled by this taglet.
|
* Returns the set of allowed locations for a block tag handled by this taglet.
|
||||||
|
@ -83,7 +83,6 @@ import static javax.tools.DocumentationTool.Location.TAGLET_PATH;
|
|||||||
/**
|
/**
|
||||||
* Manages the {@code Taglet}s used by doclets.
|
* Manages the {@code Taglet}s used by doclets.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class TagletManager {
|
public class TagletManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -53,7 +53,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
|||||||
/**
|
/**
|
||||||
* The interface for the taglet writer.
|
* The interface for the taglet writer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public abstract class TagletWriter {
|
public abstract class TagletWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -46,7 +46,6 @@ import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
|||||||
* is retrieved for the field that the inline tag appears on. The name is specified
|
* is retrieved for the field that the inline tag appears on. The name is specified
|
||||||
* in the following format: [fully qualified class name]#[constant field name].
|
* in the following format: [fully qualified class name]#[constant field name].
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class ValueTaglet extends BaseTaglet {
|
public class ValueTaglet extends BaseTaglet {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,23 +24,23 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This package has classes used to generate output for Javadoc tags.
|
* This package has classes used to generate output for Javadoc tags.
|
||||||
*
|
*
|
||||||
* <p>Doclets no longer have to implement their own version of standard tags
|
* <p>Doclets no longer have to implement their own version of standard tags
|
||||||
* such as @param and @throws. Individual taglets provide
|
* such as @param and @throws. Individual taglets provide
|
||||||
* common processing, independent of the output format.
|
* common processing, independent of the output format.
|
||||||
* Each doclet must have a taglet writer that takes a taglet
|
* Each doclet must have a taglet writer that takes a taglet
|
||||||
* as input and writes doclet-dependent output. The taglet itself will
|
* as input and writes doclet-dependent output. The taglet itself will
|
||||||
* do the tag processing. For example, suppose we are outputting
|
* do the tag processing. For example, suppose we are outputting
|
||||||
* @throws tags. The taglet would:
|
* @throws tags. The taglet would:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li> Retrieve the list of throws tags to be documented.
|
* <li> Retrieve the list of throws tags to be documented.
|
||||||
* <li> Replace {@inheritDoc} with the appropriate documentation.
|
* <li> Replace {@inheritDoc} with the appropriate documentation.
|
||||||
* <li> Add throws documentation for exceptions that are declared in
|
* <li> Add throws documentation for exceptions that are declared in
|
||||||
* the signature of the method but not documented with the throws tags.
|
* the signature of the method but not documented with the throws tags.
|
||||||
* </ul>
|
* </ul>
|
||||||
* After doing the steps above, the taglet would pass the information to
|
* After doing the steps above, the taglet would pass the information to
|
||||||
* the taglet writer for writing. The taglets are essentially builders for
|
* the taglet writer for writing. The taglets are essentially builders for
|
||||||
* tags.
|
* tags.
|
||||||
*/
|
*/
|
||||||
package jdk.javadoc.internal.doclets.toolkit.taglets;
|
package jdk.javadoc.internal.doclets.toolkit.taglets;
|
||||||
|
@ -275,7 +275,7 @@ public class ClassTree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the sub-class set for the class passed.
|
* Return the sub-class set for the class passed.
|
||||||
*
|
*
|
||||||
* @param typeElement class whose sub-class set is required.
|
* @param typeElement class whose sub-class set is required.
|
||||||
*/
|
*/
|
||||||
@ -284,7 +284,7 @@ public class ClassTree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the sub-interface set for the interface passed.
|
* Return the sub-interface set for the interface passed.
|
||||||
*
|
*
|
||||||
* @param typeElement interface whose sub-interface set is required.
|
* @param typeElement interface whose sub-interface set is required.
|
||||||
*/
|
*/
|
||||||
@ -293,7 +293,7 @@ public class ClassTree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the set of classes which implement the interface passed.
|
* Return the set of classes which implement the interface passed.
|
||||||
*
|
*
|
||||||
* @param typeElement interface whose implementing-classes set is required.
|
* @param typeElement interface whose implementing-classes set is required.
|
||||||
*/
|
*/
|
||||||
@ -318,7 +318,7 @@ public class ClassTree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the sub-class/interface set for the class/interface passed.
|
* Return the sub-class/interface set for the class/interface passed.
|
||||||
*
|
*
|
||||||
* @param typeElement class/interface whose sub-class/interface set is required.
|
* @param typeElement class/interface whose sub-class/interface set is required.
|
||||||
* @param isEnum true if the subClasses should be forced to come from the
|
* @param isEnum true if the subClasses should be forced to come from the
|
||||||
@ -369,16 +369,16 @@ public class ClassTree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a set of base classes. This will have only one element namely
|
* Return a set of base classes. This will have only one element namely
|
||||||
* the TypeElement for java.lang.Object, since this is the base class for all
|
* the TypeElement for java.lang.Object, since this is the base class for all
|
||||||
* classes.
|
* classes.
|
||||||
*/
|
*/
|
||||||
public SortedSet<TypeElement> baseClasses() {
|
public SortedSet<TypeElement> baseClasses() {
|
||||||
return baseClasses;
|
return baseClasses;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the set of base interfaces. This is the set of interfaces
|
* Return the set of base interfaces. This is the set of interfaces
|
||||||
* which do not have super-interface.
|
* which do not have super-interface.
|
||||||
*/
|
*/
|
||||||
public SortedSet<TypeElement> baseInterfaces() {
|
public SortedSet<TypeElement> baseInterfaces() {
|
||||||
@ -386,8 +386,8 @@ public class ClassTree {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the set of base enums. This is the set of enums
|
* Return the set of base enums. This is the set of enums
|
||||||
* which do not have super-enums.
|
* which do not have super-enums.
|
||||||
*/
|
*/
|
||||||
public SortedSet<TypeElement> baseEnums() {
|
public SortedSet<TypeElement> baseEnums() {
|
||||||
return baseEnums;
|
return baseEnums;
|
||||||
|
@ -75,7 +75,7 @@ import jdk.javadoc.internal.doclets.toolkit.BaseConfiguration;
|
|||||||
import static com.sun.source.doctree.DocTree.Kind.*;
|
import static com.sun.source.doctree.DocTree.Kind.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A utility class.
|
* A utility class.
|
||||||
*/
|
*/
|
||||||
public class CommentHelper {
|
public class CommentHelper {
|
||||||
private final BaseConfiguration configuration;
|
private final BaseConfiguration configuration;
|
||||||
|
@ -42,7 +42,7 @@ import java.util.Comparator;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A collection of {@code Comparator} factory methods.
|
* A collection of {@code Comparator} factory methods.
|
||||||
*/
|
*/
|
||||||
public class Comparators {
|
public class Comparators {
|
||||||
|
|
||||||
@ -212,17 +212,17 @@ public class Comparators {
|
|||||||
private Comparator<Element> indexUseComparator = null;
|
private Comparator<Element> indexUseComparator = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an {@code Element} Comparator for index file presentations, and are sorted as follows.
|
* Returns an {@code Element} Comparator for index file presentations, and are sorted as follows.
|
||||||
* If comparing modules and/or packages then simply compare the qualified names,
|
* If comparing modules and/or packages then simply compare the qualified names,
|
||||||
* if comparing a module or a package with a type/member then compare the
|
* if comparing a module or a package with a type/member then compare the
|
||||||
* FullyQualifiedName of the module or a package with the SimpleName of the entity,
|
* FullyQualifiedName of the module or a package with the SimpleName of the entity,
|
||||||
* otherwise:
|
* otherwise:
|
||||||
* 1. compare the ElementKind ex: Module, Package, Interface etc.
|
* 1. compare the ElementKind ex: Module, Package, Interface etc.
|
||||||
* 2a. if equal and if the type is of ExecutableElement(Constructor, Methods),
|
* 2a. if equal and if the type is of ExecutableElement(Constructor, Methods),
|
||||||
* a case insensitive comparison of parameter the type signatures
|
* a case insensitive comparison of parameter the type signatures
|
||||||
* 2b. if equal, case sensitive comparison of the type signatures
|
* 2b. if equal, case sensitive comparison of the type signatures
|
||||||
* 3. if equal, compare the FQNs of the entities
|
* 3. if equal, compare the FQNs of the entities
|
||||||
* 4. finally, if equal, compare the names of the enclosing modules
|
* 4. finally, if equal, compare the names of the enclosing modules
|
||||||
* @return an element comparator for index file use
|
* @return an element comparator for index file use
|
||||||
*/
|
*/
|
||||||
public Comparator<Element> makeIndexElementComparator() {
|
public Comparator<Element> makeIndexElementComparator() {
|
||||||
|
@ -40,11 +40,11 @@ import jdk.javadoc.internal.doclets.toolkit.Messages;
|
|||||||
import static jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberTable.Kind.*;
|
import static jdk.javadoc.internal.doclets.toolkit.util.VisibleMemberTable.Kind.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An alphabetical index of elements, search tags, and other items.
|
* An alphabetical index of elements, search tags, and other items.
|
||||||
* Two tables are maintained:
|
* Two tables are maintained:
|
||||||
* one is indexed by the first character of each items name;
|
* one is indexed by the first character of each items name;
|
||||||
* the other is index by the item's category, indicating the JavaScript
|
* the other is index by the item's category, indicating the JavaScript
|
||||||
* file in which the item should be written.
|
* file in which the item should be written.
|
||||||
*/
|
*/
|
||||||
public class IndexBuilder {
|
public class IndexBuilder {
|
||||||
|
|
||||||
|
@ -34,7 +34,6 @@ import java.util.Map;
|
|||||||
/**
|
/**
|
||||||
* This class manages the visible member table for each type element.
|
* This class manages the visible member table for each type element.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class VisibleMemberCache {
|
public class VisibleMemberCache {
|
||||||
private final Map<TypeElement, VisibleMemberTable> cache;
|
private final Map<TypeElement, VisibleMemberTable> cache;
|
||||||
private final BaseConfiguration configuration;
|
private final BaseConfiguration configuration;
|
||||||
|
@ -89,7 +89,6 @@ import jdk.javadoc.internal.doclets.toolkit.PropertyUtils;
|
|||||||
* type, as its own view, and will present some form of this to the
|
* type, as its own view, and will present some form of this to the
|
||||||
* doclet as and when required to.
|
* doclet as and when required to.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class VisibleMemberTable {
|
public class VisibleMemberTable {
|
||||||
|
|
||||||
public enum Kind {
|
public enum Kind {
|
||||||
|
@ -35,7 +35,7 @@ import jdk.javadoc.internal.doclets.toolkit.Content;
|
|||||||
import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
import jdk.javadoc.internal.doclets.toolkit.util.Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encapsulates information about a link.
|
* Encapsulates information about a link.
|
||||||
*/
|
*/
|
||||||
public abstract class LinkInfo {
|
public abstract class LinkInfo {
|
||||||
|
|
||||||
|
@ -24,6 +24,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a factory for constructing links.
|
* Provides a factory for constructing links.
|
||||||
*/
|
*/
|
||||||
package jdk.javadoc.internal.doclets.toolkit.util.links;
|
package jdk.javadoc.internal.doclets.toolkit.util.links;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This package has utility classes that perform common services required
|
* This package has utility classes that perform common services required
|
||||||
* for API documentation generation.
|
* for API documentation generation.
|
||||||
*/
|
*/
|
||||||
package jdk.javadoc.internal.doclets.toolkit.util;
|
package jdk.javadoc.internal.doclets.toolkit.util;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -24,16 +24,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The implementation of the <em>javadoc</em> tool and associated doclets.
|
* The implementation of the <em>javadoc</em> tool and associated doclets.
|
||||||
*
|
*
|
||||||
* <p>Internally, <em>javadoc</em> is composed of two primary parts:
|
* <p>Internally, <em>javadoc</em> is composed of two primary parts:
|
||||||
* the {@link jdk.javadoc.internal.tool tool}, and a series of
|
* the {@link jdk.javadoc.internal.tool tool}, and a series of
|
||||||
* {@link jdk.javadoc.internal.doclets doclets}.
|
* {@link jdk.javadoc.internal.doclets doclets}.
|
||||||
*
|
*
|
||||||
* <p>The tool provides a common infrastructure for command-line processing,
|
* <p>The tool provides a common infrastructure for command-line processing,
|
||||||
* and for reading the declarations and documentation comments in Java source files,
|
* and for reading the declarations and documentation comments in Java source files,
|
||||||
* while doclets provide a user-selectable backend for determining
|
* while doclets provide a user-selectable backend for determining
|
||||||
* how to process the declarations and their documentation comments.
|
* how to process the declarations and their documentation comments.
|
||||||
*
|
*
|
||||||
* <p>The following provides a top-down description of the overall <em>javadoc</em>
|
* <p>The following provides a top-down description of the overall <em>javadoc</em>
|
||||||
* software stack.
|
* software stack.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -28,7 +28,6 @@ package jdk.javadoc.internal.tool;
|
|||||||
/**
|
/**
|
||||||
* The access value kinds.
|
* The access value kinds.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public enum AccessKind {
|
public enum AccessKind {
|
||||||
/** Limits access to public entities */
|
/** Limits access to public entities */
|
||||||
PUBLIC,
|
PUBLIC,
|
||||||
|
@ -39,8 +39,8 @@ import static com.sun.tools.javac.code.Kinds.Kind.*;
|
|||||||
import com.sun.tools.javac.main.JavaCompiler;
|
import com.sun.tools.javac.main.JavaCompiler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Javadoc's own enter phase does a few things above and beyond that
|
* Javadoc's own enter phase does a few things above and beyond that
|
||||||
* done by javac.
|
* done by javac.
|
||||||
*/
|
*/
|
||||||
public class JavadocEnter extends Enter {
|
public class JavadocEnter extends Enter {
|
||||||
public static JavadocEnter instance(Context context) {
|
public static JavadocEnter instance(Context context) {
|
||||||
|
@ -39,8 +39,8 @@ import static com.sun.tools.javac.code.Flags.*;
|
|||||||
import static com.sun.tools.javac.code.Kinds.Kind.*;
|
import static com.sun.tools.javac.code.Kinds.Kind.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Javadoc's own memberEnter phase does a few things above and beyond that
|
* Javadoc's own memberEnter phase does a few things above and beyond that
|
||||||
* done by javac.
|
* done by javac.
|
||||||
*/
|
*/
|
||||||
public class JavadocMemberEnter extends MemberEnter {
|
public class JavadocMemberEnter extends MemberEnter {
|
||||||
public static JavadocMemberEnter instance0(Context context) {
|
public static JavadocMemberEnter instance0(Context context) {
|
||||||
|
@ -30,8 +30,8 @@ import com.sun.tools.javac.util.*;
|
|||||||
import com.sun.tools.javac.util.Context.Factory;
|
import com.sun.tools.javac.util.Context.Factory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Javadoc's own todo queue doesn't queue its inputs, as javadoc
|
* Javadoc's own todo queue doesn't queue its inputs, as javadoc
|
||||||
* doesn't perform attribution of method bodies or semantic checking.
|
* doesn't perform attribution of method bodies or semantic checking.
|
||||||
*/
|
*/
|
||||||
public class JavadocTodo extends Todo {
|
public class JavadocTodo extends Todo {
|
||||||
public static void preRegister(Context context) {
|
public static void preRegister(Context context) {
|
||||||
|
@ -57,10 +57,10 @@ import jdk.javadoc.doclet.DocletEnvironment;
|
|||||||
import static jdk.javadoc.internal.tool.Main.Result.*;
|
import static jdk.javadoc.internal.tool.Main.Result.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class could be the main entry point for Javadoc when Javadoc is used as a
|
* This class could be the main entry point for Javadoc when Javadoc is used as a
|
||||||
* component in a larger software system. It provides operations to
|
* component in a larger software system. It provides operations to
|
||||||
* construct a new javadoc processor, and to run it on a set of source
|
* construct a new javadoc processor, and to run it on a set of source
|
||||||
* files.
|
* files.
|
||||||
*/
|
*/
|
||||||
public class JavadocTool extends com.sun.tools.javac.main.JavaCompiler {
|
public class JavadocTool extends com.sun.tools.javac.main.JavaCompiler {
|
||||||
ToolEnvironment toolEnv;
|
ToolEnvironment toolEnv;
|
||||||
@ -93,7 +93,7 @@ public class JavadocTool extends com.sun.tools.javac.main.JavaCompiler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a new javadoc tool.
|
* Construct a new javadoc tool.
|
||||||
*/
|
*/
|
||||||
public static JavadocTool make0(Context context) {
|
public static JavadocTool make0(Context context) {
|
||||||
JavadocLog log = null;
|
JavadocLog log = null;
|
||||||
|
@ -34,7 +34,6 @@ import com.sun.tools.javac.util.Context;
|
|||||||
/**
|
/**
|
||||||
* Provides external entry points (tool and programmatic) for the javadoc program.
|
* Provides external entry points (tool and programmatic) for the javadoc program.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -24,21 +24,21 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides the front end for the javadoc tool.
|
* Provides the front end for the javadoc tool.
|
||||||
*
|
*
|
||||||
* <p>The main entry points are in {@link jdk.javadoc.internal.tool.Main}
|
* <p>The main entry points are in {@link jdk.javadoc.internal.tool.Main}
|
||||||
* which calls the (poorly-named) {@link jdk.javadoc.internal.tool.Start}
|
* which calls the (poorly-named) {@link jdk.javadoc.internal.tool.Start}
|
||||||
* which provides the overall functionality of the tool.
|
* which provides the overall functionality of the tool.
|
||||||
*
|
*
|
||||||
* <p>The classes provide a framework for processing command-line options
|
* <p>The classes provide a framework for processing command-line options
|
||||||
* and determining the set of elements (modules, packages, types and members)
|
* and determining the set of elements (modules, packages, types and members)
|
||||||
* to be documented.
|
* to be documented.
|
||||||
*
|
*
|
||||||
* <p>The classes also provide the means to use the javac front end to read
|
* <p>The classes also provide the means to use the javac front end to read
|
||||||
* source files, including the documentation comments.
|
* source files, including the documentation comments.
|
||||||
*
|
*
|
||||||
* <p>Finally, once the appropriate files have been read, the classes invoke
|
* <p>Finally, once the appropriate files have been read, the classes invoke
|
||||||
* the selected doclet to process those files, typically to generate API
|
* the selected doclet to process those files, typically to generate API
|
||||||
* documentation.
|
* documentation.
|
||||||
*/
|
*/
|
||||||
package jdk.javadoc.internal.tool;
|
package jdk.javadoc.internal.tool;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user