Re: Generate exposers for ancestral fields

2008-09-17 Thread Matt Revelle
Posted a patch to traverse the class hierarchy looking for the specified fields, it also verifies that the field is protected. Exceptions are thrown if the field isn't found or is found but not protected. Examples: ___A.java___ package pkg; public class A { private String priv = "a p

Re: Generate exposers for ancestral fields

2008-09-16 Thread Matt Revelle
On Sep 16, 2008, at 1:06 PM, Rich Hickey wrote: > > > > On Sep 16, 11:12 am, Matt Revelle <[EMAIL PROTECTED]> wrote: >> Rich, >> >> Should I send in a CA and add ancestry verification and error >> handling >> or is this an unacceptable change? >> > > I'm amenable to the idea, but I haven't look

Re: Generate exposers for ancestral fields

2008-09-16 Thread Rich Hickey
On Sep 16, 11:12 am, Matt Revelle <[EMAIL PROTECTED]> wrote: > Rich, > > Should I send in a CA and add ancestry verification and error handling > or is this an unacceptable change? > I'm amenable to the idea, but I haven't looked at the specifics, holding off on changes pre-release. Please do s

Re: Generate exposers for ancestral fields

2008-09-16 Thread Matt Revelle
Rich, Should I send in a CA and add ancestry verification and error handling or is this an unacceptable change? -Matt On Sep 15, 12:22 am, Matt Revelle <[EMAIL PROTECTED]> wrote: > I modifed clojure/genclass to support adding exposer methods for   > protected fields in classes higher up the hie