Path: blob/master/src/jdk.javadoc/share/classes/module-info.java
41145 views
/*1* Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/**26* Defines the implementation of the27* {@linkplain javax.tools.ToolProvider#getSystemDocumentationTool system documentation tool}28* and its command-line equivalent, <em>{@index javadoc javadoc tool}</em>.29*30* <h2 style="font-family:'DejaVu Sans Mono', monospace; font-style:italic">javadoc</h2>31*32* <p>33* This module provides the equivalent of command-line access to <em>javadoc</em>34* via the {@link java.util.spi.ToolProvider ToolProvider} and35* {@link javax.tools.Tool} service provider interfaces (SPIs),36* and more flexible access via the {@link javax.tools.DocumentationTool DocumentationTool}37* SPI.</p>38*39* <p> Instances of the tools can be obtained by calling40* {@link java.util.spi.ToolProvider#findFirst ToolProvider.findFirst}41* or the {@linkplain java.util.ServiceLoader service loader} with the name42* {@code "javadoc"}.43*44* @toolGuide javadoc45*46* @provides java.util.spi.ToolProvider47* @provides javax.tools.DocumentationTool48* @provides javax.tools.Tool49*50* @see <a href="{@docRoot}/../specs/javadoc/doc-comment-spec.html">51* Documentation Comment Specification for the Standard Doclet</a>52*53* @moduleGraph54* @since 955*/56module jdk.javadoc {57requires java.xml;5859requires transitive java.compiler;60requires transitive jdk.compiler;6162exports jdk.javadoc.doclet;6364provides java.util.spi.ToolProvider with65jdk.javadoc.internal.tool.JavadocToolProvider;6667provides javax.tools.DocumentationTool with68jdk.javadoc.internal.api.JavadocTool;6970provides javax.tools.Tool with71jdk.javadoc.internal.api.JavadocTool;7273provides com.sun.tools.doclint.DocLint with74jdk.javadoc.internal.doclint.DocLint;75}767778