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
26 import javax.tools.JavaCompiler;
27 import javax.tools.StandardLocation;
28
29 /**
30 * Defines the implementation of the
31 * {@linkplain javax.tools.ToolProvider#getSystemJavaCompiler system Java compiler}
32 * and its command line equivalent, <em>{@index javac javac tool}</em>.
33 *
34 * <p>The {@code com.sun.source.*} packages provide the {@index "Compiler Tree API"}:
35 * an API for accessing the abstract trees (ASTs) representing Java source code
36 * and documentation comments, used by <em>javac</em>, <em>javadoc</em> and related tools.
37 *
38 * <h2 style="font-family:'DejaVu Sans Mono', monospace; font-style:italic">javac</h2>
39 *
40 * <p>
41 * This module provides the equivalent of command-line access to <em>javac</em>
42 * via the {@link java.util.spi.ToolProvider ToolProvider} and
43 * {@link javax.tools.Tool} service provider interfaces (SPIs),
44 * and more flexible access via the {@link javax.tools.JavaCompiler JavaCompiler}
45 * SPI.</p>
46 *
47 * <p> Instances of the tools can be obtained by calling
217 * @uses com.sun.tools.javac.platform.PlatformProvider
218 *
219 * @moduleGraph
220 * @since 9
221 */
222 module jdk.compiler {
223 requires transitive java.compiler;
224 requires jdk.internal.opt;
225 requires jdk.zipfs;
226
227 exports com.sun.source.doctree;
228 exports com.sun.source.tree;
229 exports com.sun.source.util;
230 exports com.sun.tools.javac;
231
232 exports com.sun.tools.doclint to
233 jdk.javadoc;
234 exports com.sun.tools.javac.api to
235 jdk.javadoc,
236 jdk.jshell,
237 jdk.internal.md;
238 exports com.sun.tools.javac.resources to
239 jdk.jshell;
240 exports com.sun.tools.javac.code to
241 jdk.javadoc,
242 jdk.jshell;
243 exports com.sun.tools.javac.comp to
244 jdk.javadoc,
245 jdk.jshell;
246 exports com.sun.tools.javac.file to
247 jdk.jdeps,
248 jdk.javadoc;
249 exports com.sun.tools.javac.jvm to
250 jdk.javadoc;
251 exports com.sun.tools.javac.main to
252 jdk.javadoc,
253 jdk.jshell;
254 exports com.sun.tools.javac.model to
255 jdk.javadoc;
256 exports com.sun.tools.javac.parser to
257 jdk.jshell,
258 jdk.internal.md;
259 exports com.sun.tools.javac.platform to
260 jdk.jdeps,
261 jdk.javadoc;
262 exports com.sun.tools.javac.tree to
263 jdk.javadoc,
264 jdk.jshell,
265 jdk.internal.md;
266 exports com.sun.tools.javac.util to
267 jdk.jdeps,
268 jdk.javadoc,
269 jdk.jshell,
270 jdk.internal.md;
271
272 uses javax.annotation.processing.Processor;
273 uses com.sun.source.util.Plugin;
274 uses com.sun.tools.doclint.DocLint;
275 uses com.sun.tools.javac.platform.PlatformProvider;
276 uses com.sun.tools.javac.api.JavacTrees.DocCommentTreeTransformer;
277
278 provides java.util.spi.ToolProvider with
279 com.sun.tools.javac.main.JavacToolProvider;
280
281 provides com.sun.tools.javac.platform.PlatformProvider with
282 com.sun.tools.javac.platform.JDKPlatformProvider;
283
284 provides javax.tools.JavaCompiler with
285 com.sun.tools.javac.api.JavacTool;
286
287 provides javax.tools.Tool with
288 com.sun.tools.javac.api.JavacTool;
289 }
290
|
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
26 import com.sun.tools.javac.comp.CodeReflectionTransformer;
27
28 /**
29 * Defines the implementation of the
30 * {@linkplain javax.tools.ToolProvider#getSystemJavaCompiler system Java compiler}
31 * and its command line equivalent, <em>{@index javac javac tool}</em>.
32 *
33 * <p>The {@code com.sun.source.*} packages provide the {@index "Compiler Tree API"}:
34 * an API for accessing the abstract trees (ASTs) representing Java source code
35 * and documentation comments, used by <em>javac</em>, <em>javadoc</em> and related tools.
36 *
37 * <h2 style="font-family:'DejaVu Sans Mono', monospace; font-style:italic">javac</h2>
38 *
39 * <p>
40 * This module provides the equivalent of command-line access to <em>javac</em>
41 * via the {@link java.util.spi.ToolProvider ToolProvider} and
42 * {@link javax.tools.Tool} service provider interfaces (SPIs),
43 * and more flexible access via the {@link javax.tools.JavaCompiler JavaCompiler}
44 * SPI.</p>
45 *
46 * <p> Instances of the tools can be obtained by calling
216 * @uses com.sun.tools.javac.platform.PlatformProvider
217 *
218 * @moduleGraph
219 * @since 9
220 */
221 module jdk.compiler {
222 requires transitive java.compiler;
223 requires jdk.internal.opt;
224 requires jdk.zipfs;
225
226 exports com.sun.source.doctree;
227 exports com.sun.source.tree;
228 exports com.sun.source.util;
229 exports com.sun.tools.javac;
230
231 exports com.sun.tools.doclint to
232 jdk.javadoc;
233 exports com.sun.tools.javac.api to
234 jdk.javadoc,
235 jdk.jshell,
236 jdk.internal.md,
237 jdk.incubator.code;
238 exports com.sun.tools.javac.resources to
239 jdk.jshell;
240 exports com.sun.tools.javac.code to
241 jdk.javadoc,
242 jdk.jshell,
243 jdk.incubator.code;
244 exports com.sun.tools.javac.comp to
245 jdk.javadoc,
246 jdk.jshell,
247 jdk.incubator.code;
248 exports com.sun.tools.javac.file to
249 jdk.jdeps,
250 jdk.javadoc;
251 exports com.sun.tools.javac.jvm to
252 jdk.javadoc,
253 jdk.incubator.code;
254 exports com.sun.tools.javac.main to
255 jdk.javadoc,
256 jdk.jshell,
257 jdk.incubator.code;
258 exports com.sun.tools.javac.model to
259 jdk.javadoc,
260 jdk.incubator.code;
261 exports com.sun.tools.javac.parser to
262 jdk.jshell,
263 jdk.internal.md;
264 exports com.sun.tools.javac.platform to
265 jdk.jdeps,
266 jdk.javadoc;
267 exports com.sun.tools.javac.tree to
268 jdk.javadoc,
269 jdk.jshell,
270 jdk.internal.md,
271 jdk.incubator.code;
272 exports com.sun.tools.javac.util to
273 jdk.jdeps,
274 jdk.javadoc,
275 jdk.jshell,
276 jdk.internal.md,
277 jdk.incubator.code;
278 exports com.sun.tools.javac.processing to
279 jdk.incubator.code;
280
281 uses javax.annotation.processing.Processor;
282 uses com.sun.source.util.Plugin;
283 uses com.sun.tools.doclint.DocLint;
284 uses com.sun.tools.javac.platform.PlatformProvider;
285 uses com.sun.tools.javac.api.JavacTrees.DocCommentTreeTransformer;
286 uses CodeReflectionTransformer;
287
288 provides java.util.spi.ToolProvider with
289 com.sun.tools.javac.main.JavacToolProvider;
290
291 provides com.sun.tools.javac.platform.PlatformProvider with
292 com.sun.tools.javac.platform.JDKPlatformProvider;
293
294 provides javax.tools.JavaCompiler with
295 com.sun.tools.javac.api.JavacTool;
296
297 provides javax.tools.Tool with
298 com.sun.tools.javac.api.JavacTool;
299 }
300
|