equal
deleted
inserted
replaced
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); |