Hi everyone, I'm qa engineer and working on tests....
# announcements
s
Hi everyone, I'm qa engineer and working on tests. I am a pioneer and trying to introduce kotlin to our project which uses JaveEE stack. However, we recently have discovered that kotlin does not suport annotation proccessors, ex. Lombok, JPA static metamodel. My lead told me that he found just two solutions: * Compile kotlin after java - Thus we will not be able to use kotlin in java. * Divide our project to modules. - That force us to use just kotlin in this module. But that destroys the whole idea of mixing java and kotlin and doesn't help me to promote kotlin to my colleages. Besides, I am not able as a person who only writes tests change project structure, I just may gradually intoduce code in kotlin. Are there any sollutions to the problem? If not are there any plans from kotlin team to fix it?
d
Kotlin supports annotation processing: http://kotlinlang.org/docs/reference/kapt.html
r
Kotlin makes Lombok redundant, pretty much entirely.
s
Thanks for the link.
Kotlin makes Lombok redundant, pretty much entirely.
As I said I am not going to rewrite old code, but to write a new one. So, although you're right that does't help me 🙂