1 /* |
1 /* |
2 * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 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. |
7 * published by the Free Software Foundation. |
71 |
71 |
72 import com.sun.source.tree.CompilationUnitTree; |
72 import com.sun.source.tree.CompilationUnitTree; |
73 import com.sun.source.util.JavacTask; |
73 import com.sun.source.util.JavacTask; |
74 import com.sun.tools.javac.api.JavacTool; |
74 import com.sun.tools.javac.api.JavacTool; |
75 import com.sun.tools.javac.code.Flags; |
75 import com.sun.tools.javac.code.Flags; |
76 import com.sun.tools.javac.parser.EndPosTable; |
76 import com.sun.tools.javac.tree.EndPosTable; |
77 import com.sun.tools.javac.tree.JCTree; |
77 import com.sun.tools.javac.tree.JCTree; |
78 import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; |
78 import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; |
79 import com.sun.tools.javac.tree.JCTree.JCNewClass; |
79 import com.sun.tools.javac.tree.JCTree.JCNewClass; |
80 import com.sun.tools.javac.tree.JCTree.JCVariableDecl; |
80 import com.sun.tools.javac.tree.JCTree.JCVariableDecl; |
81 import com.sun.tools.javac.tree.TreeInfo; |
81 import com.sun.tools.javac.tree.TreeInfo; |