1 /* |
1 /* |
2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
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 |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
35 import javax.tools.JavaFileObject; |
35 import javax.tools.JavaFileObject; |
36 |
36 |
37 import com.sun.tools.javac.api.DiagnosticFormatter; |
37 import com.sun.tools.javac.api.DiagnosticFormatter; |
38 import com.sun.tools.javac.main.Main; |
38 import com.sun.tools.javac.main.Main; |
39 import com.sun.tools.javac.main.Option; |
39 import com.sun.tools.javac.main.Option; |
40 import com.sun.tools.javac.parser.EndPosTable; |
40 import com.sun.tools.javac.tree.EndPosTable; |
41 import com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition; |
41 import com.sun.tools.javac.util.JCDiagnostic.DiagnosticPosition; |
42 import com.sun.tools.javac.util.JCDiagnostic.DiagnosticType; |
42 import com.sun.tools.javac.util.JCDiagnostic.DiagnosticType; |
43 |
43 |
44 import static com.sun.tools.javac.main.Option.*; |
44 import static com.sun.tools.javac.main.Option.*; |
45 |
45 |