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 
  26 module 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.javah;
  34     exports com.sun.tools.doclint to
  35         jdk.javadoc;
  36     exports com.sun.tools.javac.api to
  37         jdk.javadoc,
  38         jdk.jshell;
  39     exports com.sun.tools.javac.code to
  40         jdk.javadoc,
  41         jdk.jshell;
  42     exports com.sun.tools.javac.comp to
  43         jdk.javadoc,
  44         jdk.jshell;
  45     exports com.sun.tools.javac.file to
  46         jdk.jdeps,
  47         jdk.javadoc;
  48     exports com.sun.tools.javac.jvm to
  49         jdk.javadoc;
  50     exports com.sun.tools.javac.main to
  51         jdk.javadoc;
  52     exports com.sun.tools.javac.model to
  53         jdk.javadoc;
  54     exports com.sun.tools.javac.parser to
  55         jdk.jshell;
  56     exports com.sun.tools.javac.platform to
  57         jdk.javadoc;
  58     exports com.sun.tools.javac.tree to
  59         jdk.javadoc,
  60         jdk.jshell;
  61     exports com.sun.tools.javac.util to
  62         jdk.jdeps,
  63         jdk.javadoc,
  64         jdk.jshell;
  65 
  66     uses javax.annotation.processing.Processor;
  67     uses com.sun.source.util.Plugin;
  68     uses com.sun.tools.javac.platform.PlatformProvider;
  69 
  70     provides com.sun.tools.javac.platform.PlatformProvider
  71         with com.sun.tools.javac.platform.JDKPlatformProvider;
  72 
  73     provides javax.tools.JavaCompiler
  74         with com.sun.tools.javac.api.JavacTool;
  75 }
  76