/** * Use a new context. May be called from outside to update internal state for a new * annotation-processing round. */ public void setContext(Context context) { context.put(JavacTypes.class, this); syms = Symtab.instance(context); types = Types.instance(context); }