On Thu, Jun 23, 2011 at 1:26 PM, Casper Bang <[email protected]> wrote:

> Because it's not very Java'sque to use code generation tools and an
> official pluggable annotation processor only arrived with JSE6?
>

I guess with JPA 2's typed criteria queries, this kind of codegen is fairly
well-accepted and, along with Android's R, clearly quite useful.

I don't really agree with the need for annotations, because the point is to
statically type something that is originally plain text. If you have to
write a class to annotate it, you might as well write the whole
thing (unless you can use package-level annotations to say where the
resource files are). I guess there could be several entry points to the core
functionality (annotations, Maven, directly specifying input and output
folders...).

Moandji

-- 
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.

Reply via email to