equal
deleted
inserted
replaced
234 */ |
234 */ |
235 protected Gen gen; |
235 protected Gen gen; |
236 |
236 |
237 /** The name table. |
237 /** The name table. |
238 */ |
238 */ |
239 protected Name.Table names; |
239 protected Names names; |
240 |
240 |
241 /** The attributor. |
241 /** The attributor. |
242 */ |
242 */ |
243 protected Attr attr; |
243 protected Attr attr; |
244 |
244 |
308 |
308 |
309 // if fileManager not already set, register the JavacFileManager to be used |
309 // if fileManager not already set, register the JavacFileManager to be used |
310 if (context.get(JavaFileManager.class) == null) |
310 if (context.get(JavaFileManager.class) == null) |
311 JavacFileManager.preRegister(context); |
311 JavacFileManager.preRegister(context); |
312 |
312 |
313 names = Name.Table.instance(context); |
313 names = Names.instance(context); |
314 log = Log.instance(context); |
314 log = Log.instance(context); |
315 diagFactory = JCDiagnostic.Factory.instance(context); |
315 diagFactory = JCDiagnostic.Factory.instance(context); |
316 reader = ClassReader.instance(context); |
316 reader = ClassReader.instance(context); |
317 make = TreeMaker.instance(context); |
317 make = TreeMaker.instance(context); |
318 writer = ClassWriter.instance(context); |
318 writer = ClassWriter.instance(context); |
1409 */ |
1409 */ |
1410 public void close() { |
1410 public void close() { |
1411 close(true); |
1411 close(true); |
1412 } |
1412 } |
1413 |
1413 |
1414 private void close(boolean disposeNames) { |
1414 public void close(boolean disposeNames) { |
1415 rootClasses = null; |
1415 rootClasses = null; |
1416 reader = null; |
1416 reader = null; |
1417 make = null; |
1417 make = null; |
1418 writer = null; |
1418 writer = null; |
1419 enter = null; |
1419 enter = null; |