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 package com.sun.tools.javac.api;
27
28 import java.util.Collection;
29 import java.util.LinkedHashSet;
30 import java.util.Locale;
31 import java.util.Objects;
32 import java.util.ServiceLoader;
33 import java.util.Set;
34 import java.util.stream.Collectors;
35
36 import javax.annotation.processing.Processor;
37 import javax.lang.model.element.Element;
38 import javax.lang.model.type.TypeMirror;
39 import javax.lang.model.util.Elements;
40 import javax.lang.model.util.Types;
41 import javax.tools.JavaFileObject;
42
43 import com.sun.source.tree.CompilationUnitTree;
44 import com.sun.source.tree.Tree;
45 import com.sun.source.util.JavacTask;
46 import com.sun.source.util.ParameterNameProvider;
47 import com.sun.source.util.Plugin;
48 import com.sun.source.util.TaskListener;
49 import com.sun.tools.doclint.DocLint;
50 import com.sun.tools.javac.code.MissingInfoHandler;
51 import com.sun.tools.javac.main.JavaCompiler;
52 import com.sun.tools.javac.model.JavacElements;
53 import com.sun.tools.javac.model.JavacTypes;
54 import com.sun.tools.javac.platform.PlatformDescription;
|
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 package com.sun.tools.javac.api;
27
28 import java.lang.module.Configuration;
29 import java.lang.module.ModuleFinder;
30 import java.util.Collection;
31 import java.util.LinkedHashSet;
32 import java.util.Locale;
33 import java.util.Objects;
34 import java.util.ServiceLoader;
35 import java.util.Set;
36
37 import javax.annotation.processing.Processor;
38 import javax.lang.model.element.Element;
39 import javax.lang.model.type.TypeMirror;
40 import javax.lang.model.util.Elements;
41 import javax.lang.model.util.Types;
42 import javax.tools.JavaFileObject;
43
44 import com.sun.source.tree.CompilationUnitTree;
45 import com.sun.source.tree.Tree;
46 import com.sun.source.util.JavacTask;
47 import com.sun.source.util.ParameterNameProvider;
48 import com.sun.source.util.Plugin;
49 import com.sun.source.util.TaskListener;
50 import com.sun.tools.doclint.DocLint;
51 import com.sun.tools.javac.code.MissingInfoHandler;
52 import com.sun.tools.javac.main.JavaCompiler;
53 import com.sun.tools.javac.model.JavacElements;
54 import com.sun.tools.javac.model.JavacTypes;
55 import com.sun.tools.javac.platform.PlatformDescription;
|