module-info.java revision 3319:83c0f2cb6028
1/*
2 * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.  Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
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
23 * questions.
24 */
25
26module jdk.compiler {
27    requires public java.compiler;
28
29    exports com.sun.source.doctree;
30    exports com.sun.source.tree;
31    exports com.sun.source.util;
32    exports com.sun.tools.javac;
33    exports com.sun.tools.doclint to
34        jdk.javadoc;
35    exports com.sun.tools.javac.api to
36        jdk.javadoc,
37        jdk.jshell;
38    exports com.sun.tools.javac.code to
39        jdk.javadoc,
40        jdk.jshell;
41    exports com.sun.tools.javac.comp to
42        jdk.javadoc,
43        jdk.jshell;
44    exports com.sun.tools.javac.file to
45        jdk.jdeps,
46        jdk.javadoc;
47    exports com.sun.tools.javac.jvm to
48        jdk.javadoc;
49    exports com.sun.tools.javac.main to
50        jdk.javadoc;
51    exports com.sun.tools.javac.model to
52        jdk.javadoc;
53    exports com.sun.tools.javac.parser to
54        jdk.jshell;
55    exports com.sun.tools.javac.platform to
56        jdk.javadoc;
57    exports com.sun.tools.javac.tree to
58        jdk.javadoc,
59        jdk.jshell;
60    exports com.sun.tools.javac.util to
61        jdk.jdeps,
62        jdk.javadoc,
63        jdk.jshell;
64
65    uses javax.annotation.processing.Processor;
66    uses com.sun.source.util.Plugin;
67    uses com.sun.tools.javac.platform.PlatformProvider;
68
69    provides com.sun.tools.javac.platform.PlatformProvider
70        with com.sun.tools.javac.platform.JDKPlatformProvider;
71
72    provides javax.tools.JavaCompiler
73        with com.sun.tools.javac.api.JavacTool;
74}
75
76