langtools/src/jdk.compiler/share/classes/module-info.java
author jlahoda
Wed, 02 Nov 2016 07:38:37 +0100
changeset 41865 3ef02797070d
parent 41448 6689bce0cd65
child 42407 f3702cff2933
permissions -rw-r--r--
8131019: jshell tool: access javadoc from tool Summary: Adding internal support to resolve {@inheritDoc} and format javadoc to plain text for use by jdk.jshell and jdk.scripting.nashorn.shell, enhancing Shift-<tab> documentation in JShell with ability to show javadoc. Reviewed-by: jjg, rfield
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     1
/*
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     2
 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     4
 *
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    10
 *
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    15
 * accompanied this code).
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    16
 *
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    20
 *
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    23
 * questions.
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    24
 */
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    25
40507
4413083331c7 8162576: Missing doclint check missing for modules
sadayapalam
parents: 36991
diff changeset
    26
/** Defines the implementation of the
4413083331c7 8162576: Missing doclint check missing for modules
sadayapalam
parents: 36991
diff changeset
    27
 *  {@link javax.tools.ToolProvider#getSystemJavaCompiler system Java compiler}
4413083331c7 8162576: Missing doclint check missing for modules
sadayapalam
parents: 36991
diff changeset
    28
 *  and its command line equivalent, <em>javac</em>, as well as <em>javah</em>.
4413083331c7 8162576: Missing doclint check missing for modules
sadayapalam
parents: 36991
diff changeset
    29
 */
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    30
module jdk.compiler {
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    31
    requires public java.compiler;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    32
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    33
    exports com.sun.source.doctree;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    34
    exports com.sun.source.tree;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    35
    exports com.sun.source.util;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    36
    exports com.sun.tools.javac;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    37
    exports com.sun.tools.doclint to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    38
        jdk.javadoc;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    39
    exports com.sun.tools.javac.api to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    40
        jdk.javadoc,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    41
        jdk.jshell;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    42
    exports com.sun.tools.javac.code to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    43
        jdk.javadoc,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    44
        jdk.jshell;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    45
    exports com.sun.tools.javac.comp to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    46
        jdk.javadoc,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    47
        jdk.jshell;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    48
    exports com.sun.tools.javac.file to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    49
        jdk.jdeps,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    50
        jdk.javadoc;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    51
    exports com.sun.tools.javac.jvm to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    52
        jdk.javadoc;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    53
    exports com.sun.tools.javac.main to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    54
        jdk.javadoc;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    55
    exports com.sun.tools.javac.model to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    56
        jdk.javadoc;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    57
    exports com.sun.tools.javac.parser to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    58
        jdk.jshell;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    59
    exports com.sun.tools.javac.platform to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    60
        jdk.javadoc;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    61
    exports com.sun.tools.javac.tree to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    62
        jdk.javadoc,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    63
        jdk.jshell;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    64
    exports com.sun.tools.javac.util to
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    65
        jdk.jdeps,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    66
        jdk.javadoc,
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    67
        jdk.jshell;
41865
3ef02797070d 8131019: jshell tool: access javadoc from tool
jlahoda
parents: 41448
diff changeset
    68
    exports jdk.internal.shellsupport.doc to
3ef02797070d 8131019: jshell tool: access javadoc from tool
jlahoda
parents: 41448
diff changeset
    69
        jdk.jshell,
3ef02797070d 8131019: jshell tool: access javadoc from tool
jlahoda
parents: 41448
diff changeset
    70
        jdk.scripting.nashorn.shell;
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    71
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    72
    uses javax.annotation.processing.Processor;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    73
    uses com.sun.source.util.Plugin;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    74
    uses com.sun.tools.javac.platform.PlatformProvider;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    75
41448
6689bce0cd65 8159855: Create an SPI for tools
jjg
parents: 40507
diff changeset
    76
    provides java.util.spi.ToolProvider
6689bce0cd65 8159855: Create an SPI for tools
jjg
parents: 40507
diff changeset
    77
        with com.sun.tools.javac.main.JavacToolProvider;
6689bce0cd65 8159855: Create an SPI for tools
jjg
parents: 40507
diff changeset
    78
36526
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    79
    provides com.sun.tools.javac.platform.PlatformProvider
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    80
        with com.sun.tools.javac.platform.JDKPlatformProvider;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    81
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    82
    provides javax.tools.JavaCompiler
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    83
        with com.sun.tools.javac.api.JavacTool;
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    84
}
3b41f1c69604 8142968: Module System implementation
alanb
parents:
diff changeset
    85