Project Lombok will not use reflection. It is a compiler plugin and will just generate the code to delegate the call to a field.
Roel On Tue, Nov 24, 2009 at 9:46 AM, Patrick Wright <[email protected]> wrote: > In Java, this would be like > implementing Comparable then delegating the comparison to a helper > class that works via reflection. I believe Lombok takes this approach > (saw some slides to that effect at Devoxx); when your class implements > an interface, you can have the methods in that interface implemented > by another class which you delegate to. I think that's a good practice > to follow, as in essence one is saying, "I implement this interface, > and it's none of your business how I do it". > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
