-
Notifications
You must be signed in to change notification settings - Fork 14
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
Lombok annotations are not showed properly #37
Comments
Ok my problem was about config of lombok.jar. I have the same problem than you. After debugging, it seems that lombok agent update JDT ASTNode to generate getter, and change @log annotation with some code. It causes the problem that you see. I think I have a solution but it will be linked to lombok and it breaks a lot of code -( I don't know if it's a feature that JDT wishes to support because it will be linked to lombok. |
One thing to consider is that Lombok violates the APT spec as it modifies the class directly instead of generating new ones. So I assume we will see additional code minings for the generate code once this works. |
@Ravisankar-Challa QI'm sorry, but I think I will not fix this issue. It's to specific to lombok |
Adding a sample project for testing.
https://github.com/Ravisankar-Challa/meecrowave_test/blob/master/src/main/java/meecrowave/model/MiscellaneousInfo.java
Note: Lombok needs to be configured in the eclipse ide
https://projectlombok.org/downloads/lombok.jar
place the lombok file in the same folder of eclipse.exe file and update the eclipse.ini file
-vmargs
-javaagent:lombok.jar
-Dosgi.requiredJavaVersion=1.8
The text was updated successfully, but these errors were encountered: