Joint compilation of Java, Groovy, @NotNull Follow
Currently I am using javac2 to compile my Java code including processing of @NotNull annotations.
Now I'd like to write single classes in Groovy.
How do I get joint compilation of Java and Groovy without loosing the bytecode instrumentation for the @NotNull annotations?
Is there a way to instrument the byte code with @NotNull checks _after_ compilation?
Please sign in to leave a comment.
Hello Stephen,
Yes. You can use the InstrumentIdeaExtensions task instead of javac2 for
this - it accepts the same options but doesn't perform the actual compilation.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"