Re: Annotation based library for equals,toString etc

2009-01-24 Thread Tim Lebedkov
independent library? I could think of some advantages of the code to be in the Commons. BTW: any questions/suggestions about the API or the implementation are welcome! Regards --Tim On Tue, Jan 6, 2009 at 7:41 PM, Tim Lebedkov wrote: > Hello James, > > in my current code the allFields

Re: Annotation based library for equals,toString etc

2009-01-07 Thread Tim Lebedkov
Hello Martin, I have started the project at http://code.google.com/p/jau/. (I'll also unsubscribe myself from this list) Regards --Tim On Tue, Jan 6, 2009 at 8:11 PM, Martin Cooper wrote: > On Tue, Jan 6, 2009 at 5:41 AM, Tim Lebedkov wrote: > >> Hello dev@commons.apache.or

Re: Annotation based library for equals,toString etc

2009-01-06 Thread Tim Lebedkov
7:21 PM, James Carman wrote: > I wouldn't think you'd want the AutomaticEquals stuff to be at the > top-level, necessarily. Can you annotate property getters or perhaps > the fields themselves? > > On Tue, Jan 6, 2009 at 10:59 AM, Tim Lebedkov wrote: >> Hello Vi

Re: Annotation based library for equals,toString etc

2009-01-06 Thread Tim Lebedkov
> ... > } > > or > > @Annot(equals="XYZ" compareTo="MyComparator") > public class MyClass{ > ... > ... > ... > } > > LMK. > > -v > > On Tue, Jan 6, 2009 at 7:11 PM, Tim Lebedkov wrote: >> Hello dev@commons.apache.org r

Annotation based library for equals,toString etc

2009-01-06 Thread Tim Lebedkov
Hello dev@commons.apache.org reader, I would like to start a new project (in the sandbox?) for annotation based implementation of methods like equals. The idea is to annotate a class like this: @AutomaticEquals class Test { private int a; } and compare 2 instances of this class using Automat