src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java

changeset 1416
c0f0c41cafa0
parent 1413
bdcef2ef52d2
child 1455
75ab654b5cd5
equal deleted inserted replaced
1415:01c9d4161882 1416:c0f0c41cafa0
487 487
488 /** 488 /**
489 * For internal use only. This method will be 489 * For internal use only. This method will be
490 * removed without warning. 490 * removed without warning.
491 */ 491 */
492 public Context getContext() {
493 return context;
494 }
495
496 /**
497 * For internal use only. This method will be
498 * removed without warning.
499 */
500 public void updateContext(Context newContext) {
501 context = newContext;
502 }
503
504 /**
505 * For internal use only. This method will be
506 * removed without warning.
507 */
508 public Type parseType(String expr, TypeElement scope) { 492 public Type parseType(String expr, TypeElement scope) {
509 if (expr == null || expr.equals("")) 493 if (expr == null || expr.equals(""))
510 throw new IllegalArgumentException(); 494 throw new IllegalArgumentException();
511 compiler = JavaCompiler.instance(context); 495 compiler = JavaCompiler.instance(context);
512 JavaFileObject prev = compiler.log.useSource(null); 496 JavaFileObject prev = compiler.log.useSource(null);

mercurial