We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Kotlin doesn't see Lombok accessors in Java Files (eg: @Data).
Kotlin
Lombok
Java
@Data
has not been resolved!
Convert lombok-fied java file to kotlin language. aka. use kotlin instead of lombok. 😂
But this solution force the migration to kotlin, not nice! 😫
The text was updated successfully, but these errors were encountered:
”Kotlin doesn't see Java Lombok accessors“,您好,请教下,像这种问题,现在有解决方案了吗?(不转java为kotlin的情况)
Sorry, something went wrong.
『不转java为kotlin』的解决方案 还没有找到 😞
delombok能用,编译正常,但是热更新不好用。
delombok
Official Kotlin support for Lombok: @victory460 @fanthos
https://kotlinlang.org/docs/lombok.html
The Lombok compiler plugin is Experimental.
No branches or pull requests
Problem
Kotlin
doesn't seeLombok
accessors inJava
Files (eg:@Data
).Problem infos
Kotlin Support projectlombok/lombok#1169
https://stackoverflow.com/questions/35517325/kotlin-doesnt-see-java-lombok-accessors
https://stackoverflow.com/questions/44180267/configuring-kapt-to-process-lombok-annotations
https://stackoverflow.com/questions/42257379/how-to-configure-lombok-with-maven-compiler-plugin
Problem status and solution
status:
has not been resolved!
Quick and dirty solution
Convert lombok-fied java file to kotlin language.
aka. use kotlin instead of lombok. 😂
But this solution force the migration to kotlin, not nice! 😫
Related resources
https://projectlombok.org/setup/maven
https://kotlinlang.org/docs/reference/using-maven.html#compiling-kotlin-and-java-sources
The text was updated successfully, but these errors were encountered: