-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[BUG] Eclipse handlers don't support enum constants #3427
Comments
you might have to create the getter methods manually for each enum constant. |
Obviously lombok should not fail with an NPE and it is not that difficult to fix this but I don't get why you need a getter for an enum constant. It might be better to also remove the |
@Rawi01 ,
Me too. I just want to sync |
Describe the bug
For enum constants JDT leaves null TypeReference in
org.eclipse.jdt.internal.compiler.ast.FieldDeclaration
, butlombok.eclipse.handlers.HandleGetter
doesn't ready for it so there will be several problems:Looks like It can be reproduced with other annotation handlers.
To Reproduce
Case:
Result:
Expected behavior
Javac handler works well in this case and generate method:
Version info:
Platform Eclipse:
The text was updated successfully, but these errors were encountered: