commit | 26f957278b34144a3f90989ccddb0102fc1fdd62 | [log] [tgz] |
---|---|---|
author | Hugo Hudson <hugohudson@google.com> | Fri Dec 16 18:06:39 2011 +0000 |
committer | Hugo Hudson <hugohudson@google.com> | Wed Dec 21 03:59:00 2011 +0000 |
tree | 14b9e490fe1629678a089a3a018153a06052c395 | |
parent | f8fec55f4689b0c54529b2bbf4e25b0c7cfbbe1e [diff] |
Introduces ProxyBuilder and tests. - ProxyBuilder is to concrete classes what java.lang.reflect.Proxy is to interfaces. - Uses a builder pattern to make specifying of the various (optional) parameters easier. - Creates a concrete subclass of the supplied input class whose implementation delegates to the given invocation handler. - Also provides a fix for the Code#loadConstant method to allow loading null values. Change-Id: I3ca6a98b91c64466df03120bc85f095365250aca