src/share/classes/com/sun/tools/javac/comp/MemberEnter.java

changeset 1358
fc123bdeddb8
parent 1348
573ceb23beeb
child 1374
c002fdee76fd
equal deleted inserted replaced
1357:c75be5bc5283 1358:fc123bdeddb8
126 */ 126 */
127 127
128 /** Import all classes of a class or package on demand. 128 /** Import all classes of a class or package on demand.
129 * @param pos Position to be used for error reporting. 129 * @param pos Position to be used for error reporting.
130 * @param tsym The class or package the members of which are imported. 130 * @param tsym The class or package the members of which are imported.
131 * @param toScope The (import) scope in which imported classes 131 * @param env The env in which the imported classes will be entered.
132 * are entered.
133 */ 132 */
134 private void importAll(int pos, 133 private void importAll(int pos,
135 final TypeSymbol tsym, 134 final TypeSymbol tsym,
136 Env<AttrContext> env) { 135 Env<AttrContext> env) {
137 // Check that packages imported from exist (JLS ???). 136 // Check that packages imported from exist (JLS ???).
148 } 147 }
149 148
150 /** Import all static members of a class or package on demand. 149 /** Import all static members of a class or package on demand.
151 * @param pos Position to be used for error reporting. 150 * @param pos Position to be used for error reporting.
152 * @param tsym The class or package the members of which are imported. 151 * @param tsym The class or package the members of which are imported.
153 * @param toScope The (import) scope in which imported classes 152 * @param env The env in which the imported classes will be entered.
154 * are entered.
155 */ 153 */
156 private void importStaticAll(int pos, 154 private void importStaticAll(int pos,
157 final TypeSymbol tsym, 155 final TypeSymbol tsym,
158 Env<AttrContext> env) { 156 Env<AttrContext> env) {
159 final JavaFileObject sourcefile = env.toplevel.sourcefile; 157 final JavaFileObject sourcefile = env.toplevel.sourcefile;

mercurial