Since we don't know if the constant can be actually generated until we get to the codemodel building phase, this renderer lazily determines if it wants to generate a constant field or a normal property. author: Kohsuke Kawaguchi