If by normalizing tool you mean, something that removes all lombok
annotations and replaces them with what lombok would generate, then -
yeah, that's in the works. We want to put in a little effort to make
the generated code look halfway decent so that, as you said, you can
run this thing and forget you ever wrote lombok java code.

Of course, the much cooler tool that's part of that concept is the
reverse: It'll take standard run-of-the-mill java code and offers to
replace all that boilerplate with nice, concise lombok annotations.

I hear you on the hassle factor. That's exactly why lombok is what it
is: It's the lowest form of hassle I can think of. We even went
through rather a lot of effort to make sure that installer works as
well as it does, and to stick a video right on the front page. A very
low barrier-to-entry is important. It's also a big driving force,
unfortunately, AGAINST adding all-new grammar rules, because I *WOULD*
have to ship you a new javac (or at least an agent, but agent-
instrumenting javac is very annoying; for example, ant and maven don't
normally fork off a new JVM to run javac, which means you'd have to
instrument your ant or maven tools. Continuous build servers will also
need rather a lot of configuration and magic to load those agents, and
so on and so forth. Running javac with a certain classpath - EVERY
tool that uses javac knows how to do that!

NB: To use @lombok.core.PrintAST on windows, A little windows-using
birdie told me you have to run 'eclipsec.exe' instead of 'eclipse.exe'
- no need to run eclipse from a dos box (in fact, that won't make any
difference).



On Jul 31, 10:22 am, Christian Catchpole <[email protected]>
wrote:
> You also might want to include a normalizing tool.  It might help with
> projects where people are worried about dependencies.  You can tell
> your boss that at any time you can run this thing, and it will turn
> all these annotated sources into standard java.. But don't make it too
> easy.  Have it ask "are you sure?" about 72 times.
--~--~---------~--~----~------------~-------~--~----~
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