Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider support kotlin #1416

Closed
freezhan opened this issue Jun 16, 2017 · 6 comments
Closed

Consider support kotlin #1416

freezhan opened this issue Jun 16, 2017 · 6 comments

Comments

@freezhan
Copy link

No description provided.

@javatlacati
Copy link

FYI Kotlin still has some Issues with annotation processing so it's too early for having some cool lombok features.

https://stackoverflow.com/questions/35517325/kotlin-doesnt-see-java-lombok-accessors

Moreover it will not work on the same module:

https://discuss.kotlinlang.org/t/kotlin-java-lombok-interop/1442

but the good news is that you can recue something with kapt see #1169

@fzyzcjy
Copy link

fzyzcjy commented Jan 17, 2022

Hi is there any updates? thanks!

@rzwitserloot
Copy link
Collaborator

@fzyzcjy I don't even know what this issue is asking, so, I have no idea. But probably no updates now nor in the foreseeable future, whatever this is asking.

(It may be asking: I want to annotate things in my kotlin code and get lombok to generate kotlin code for me! - which is unlikely to ever happen. Or it is asking: When kotlinc is in mixed mode, compiling java files in addition to kotlin files in intermix mode, I want lombok to work on the java source files at least. Which it just will, out of the box, if kotlinc does not break annotation processor invocations, but it does, or at least, it did, in 2017. Any updates? I dunno. You're on the bug list, file something over at kotlin's bug tracker I think).

Or it means something even more exotic. I'm pretty sure all roads lead to: No.

@fzyzcjy
Copy link

fzyzcjy commented Jan 18, 2022

@rzwitserloot thanks for the reply!

When kotlinc is in mixed mode, compiling java files in addition to kotlin files in intermix mode, I want lombok to work on the java source files at least.

Personally I am asking this. Well ok... then may need to find some workarounds

@rzwitserloot
Copy link
Collaborator

@fzyzcjy Assuming kotlinc still doesn't fire annotation processors properly, possibly file a bug (it's on them to fix that, I can't make that happen for them short of forking kotlinc, which I also can't do, at least, I don't think it's open source either). I'm going by old info here, I don't use kotlin. If there is something project lombok can do to make this work, Pull Requests are welcome. No current core maintainers have the requires experience and motivation to pick this up.

@fzyzcjy
Copy link

fzyzcjy commented Jan 19, 2022

@rzwitserloot Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants