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

Delombok Java 8 Type Annotations #855

Closed
lombokissues opened this issue Jul 14, 2015 · 2 comments
Closed

Delombok Java 8 Type Annotations #855

lombokissues opened this issue Jul 14, 2015 · 2 comments

Comments

@lombokissues
Copy link

Migrated from Google Code (issue 820)

@lombokissues
Copy link
Author

👤 Stephan.Pirnbaum   🕗 Jun 03, 2015 at 14:48 UTC

Hello,
according to the reply on SO on my question:
http://stackoverflow.com/questions/30614830/delombok-java-8-type-annotations

The problem is that type annotations cannot be resolved by Delombok correctly. Let's assume I have this code:

import edu.umd.cs.findbugs.annotations.NonNull;
....
Set<@ NonNull PredictedConsumption> consumptions

This will result in:
Set<(UNKNOWN[JCAnnotatedType]: @ NonNull() PredictedConsumption)> consumptions;

As pointed out in the answer, the "bug" is in this line, which explains the output:
https://github.com/rzwitserloot/lombok/blob/master/src/delombok/lombok/delombok/PrettyCommentsPrinter.java﹟L1618

Thanks

@lombokissues
Copy link
Author

End of migration

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

1 participant