I am looking at implementing lazy properties ( as the first step to implement ghost properties ). I am not sure that I really like the Java impl, in particular it relies on having to do bytecode re-writing, and that is not something that I think that we need. Instead, I thought that we can ask the byte code provider to create a proxy class for us is we have any lazy properties at runtime, and then we can switch the mapped class with the given proxy type. That, in addition of limiting lazy properties to auto props only, will mean that we don't really have to do any bytecode manipulation.
Thoughts?
