langtools/src/jdk.jdeps/share/classes/module-info.java
changeset 45680 6a7b5298fcf5
parent 44452 93f6470b1045
child 45683 6b4c8cffb90e
equal deleted inserted replaced
45600:6589d4088eaa 45680:6a7b5298fcf5
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 /** Defines tools for analysing dependencies in Java libraries and programs, including
    26 /**
    27  *  the <em>jdeps</em> and <em>javap</em> tools.
    27  * Defines tools for analysing dependencies in Java libraries and programs,
       
    28  * including the <em>{@index jdeps jdeps tool}</em>,
       
    29  * <em>{@index javap javap tool}</em> and
       
    30  * <em>{@index jdeprscan jdeprscan tool}</em> tools.
    28  *
    31  *
    29  *  @moduleGraph
    32  * <p>
    30  *  @since 9
    33  * This module provides the equivalent of command-line access to the
       
    34  * <em>javap</em> and <em>jdeps</em> tools via the
       
    35  * {@link java.util.spi.ToolProvider ToolProvider} service provider
       
    36  * interface (SPI)</p>
       
    37  *
       
    38  * <p> Instances of the tools can be obtained by calling
       
    39  * {@link java.util.spi.ToolProvider#findFirst ToolProvider.findFirst}
       
    40  * or the {@link java.util.ServiceLoader service loader} with the name
       
    41  * {@code "javap"} or {@code "jdeps"} as appropriate.
       
    42  *
       
    43  * <p>
       
    44  * <em>jdeprscan</em> only exists as a command line tool, and does not provide
       
    45  * any direct API.
       
    46  *
       
    47  * <dl style="font-family:'DejaVu Sans', Arial, Helvetica, sans serif">
       
    48  * <dt class="simpleTagLabel">Tool Guides:
       
    49  * <dd>{@extLink javap_tool_reference javap},
       
    50  *     {@extLink jdeprscan_tool_reference jdeprscan},
       
    51  *     {@extLink jdeps_tool_reference jdeps}
       
    52  * </dl>
       
    53  *
       
    54  * @provides java.util.spi.ToolProvider
       
    55  *
       
    56  * @moduleGraph
       
    57  * @since 9
    31  */
    58  */
    32 module jdk.jdeps {
    59 module jdk.jdeps {
    33     requires java.base;
    60     requires java.base;
    34     requires java.compiler;
    61     requires java.compiler;
    35     requires jdk.compiler;
    62     requires jdk.compiler;