It's an idea that is worth looking into. I had been thinking that we'd have to 
write some kind of pre-processor or something, which could be ugly. But if 
there are hooks we can call into (or be called by), it would potentially be 
much easier. Anyone know?
 
On Monday, May 04, 2009, at 10:22AM, "Todd Volkert" <[email protected]> wrote:
>>>There is maybe a third way:
>>>(3) leveraging 'JSR 199: Java Compiler API' (from Java 6) in order to do the 
>>>on-the-fly code generation (at the source level, instead of byte-code level).
>>
>> I'll take a look at this. However, based on the description, I suspect that 
>> it will also require a signed applet.
>
>This makes me wonder: does the JDK give us any hooks into the actual
>compiler?  Might we be able to compile in an instance initializer that
>did the binding?
>
>

Reply via email to