module-info.java revision 3738:6ef8a1453577
1252190Srpaulo/*
2252190Srpaulo * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
3252190Srpaulo * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4252190Srpaulo *
5252190Srpaulo * This code is free software; you can redistribute it and/or modify it
6252190Srpaulo * under the terms of the GNU General Public License version 2 only, as
7252190Srpaulo * published by the Free Software Foundation.  Oracle designates this
8252190Srpaulo * particular file as subject to the "Classpath" exception as provided
9252190Srpaulo * by Oracle in the LICENSE file that accompanied this code.
10252190Srpaulo *
11252190Srpaulo * This code is distributed in the hope that it will be useful, but WITHOUT
12252190Srpaulo * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13252190Srpaulo * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14252190Srpaulo * version 2 for more details (a copy is included in the LICENSE file that
15252190Srpaulo * accompanied this code).
16252190Srpaulo *
17252190Srpaulo * You should have received a copy of the GNU General Public License version
18252190Srpaulo * 2 along with this work; if not, write to the Free Software Foundation,
19252190Srpaulo * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20252190Srpaulo *
21252190Srpaulo * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22252190Srpaulo * or visit www.oracle.com if you need additional information or have any
23252190Srpaulo * questions.
24252190Srpaulo */
25252190Srpaulo
26252190Srpaulo/** Defines the implementation of the
27252190Srpaulo *  {@link javax.tools.ToolProvider#getSystemJavaCompiler system Java compiler}
28252190Srpaulo *  and its command line equivalent, <em>javac</em>, as well as <em>javah</em>.
29252190Srpaulo */
30252190Srpaulomodule jdk.compiler {
31252190Srpaulo    requires public java.compiler;
32252190Srpaulo
33252190Srpaulo    exports com.sun.source.doctree;
34252190Srpaulo    exports com.sun.source.tree;
35252190Srpaulo    exports com.sun.source.util;
36252190Srpaulo    exports com.sun.tools.javac;
37252190Srpaulo    exports com.sun.tools.doclint to
38252190Srpaulo        jdk.javadoc;
39252190Srpaulo    exports com.sun.tools.javac.api to
40252190Srpaulo        jdk.javadoc,
41252190Srpaulo        jdk.jshell;
42252190Srpaulo    exports com.sun.tools.javac.code to
43252190Srpaulo        jdk.javadoc,
44252190Srpaulo        jdk.jshell;
45252190Srpaulo    exports com.sun.tools.javac.comp to
46252190Srpaulo        jdk.javadoc,
47252190Srpaulo        jdk.jshell;
48252190Srpaulo    exports com.sun.tools.javac.file to
49252190Srpaulo        jdk.jdeps,
50252190Srpaulo        jdk.javadoc;
51252190Srpaulo    exports com.sun.tools.javac.jvm to
52252190Srpaulo        jdk.javadoc;
53252190Srpaulo    exports com.sun.tools.javac.main to
54252190Srpaulo        jdk.javadoc;
55252190Srpaulo    exports com.sun.tools.javac.model to
56252190Srpaulo        jdk.javadoc;
57252190Srpaulo    exports com.sun.tools.javac.parser to
58252190Srpaulo        jdk.jshell;
59252190Srpaulo    exports com.sun.tools.javac.platform to
60252190Srpaulo        jdk.javadoc;
61252190Srpaulo    exports com.sun.tools.javac.tree to
62252190Srpaulo        jdk.javadoc,
63252190Srpaulo        jdk.jshell;
64252190Srpaulo    exports com.sun.tools.javac.util to
65252190Srpaulo        jdk.jdeps,
66252190Srpaulo        jdk.javadoc,
67252190Srpaulo        jdk.jshell;
68252190Srpaulo    exports jdk.internal.shellsupport.doc to
69252190Srpaulo        jdk.jshell,
70252190Srpaulo        jdk.scripting.nashorn.shell;
71252190Srpaulo
72252190Srpaulo    uses javax.annotation.processing.Processor;
73252190Srpaulo    uses com.sun.source.util.Plugin;
74252190Srpaulo    uses com.sun.tools.javac.platform.PlatformProvider;
75252190Srpaulo
76252190Srpaulo    provides java.util.spi.ToolProvider
77252190Srpaulo        with com.sun.tools.javac.main.JavacToolProvider;
78252190Srpaulo
79252190Srpaulo    provides com.sun.tools.javac.platform.PlatformProvider
80252190Srpaulo        with com.sun.tools.javac.platform.JDKPlatformProvider;
81252190Srpaulo
82252190Srpaulo    provides javax.tools.JavaCompiler
83252190Srpaulo        with com.sun.tools.javac.api.JavacTool;
84}
85
86