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

Wrong parameter type derived for static method #88

Open
odrotbohm opened this issue Nov 13, 2018 · 3 comments
Open

Wrong parameter type derived for static method #88

odrotbohm opened this issue Nov 13, 2018 · 3 comments

Comments

@odrotbohm
Copy link

bildschirmfoto 2018-11-13 um 12 11 24

The derived parameter type of the registerEvent(…) method is wrong. It should be ProductAdded as that's the return value of the static method generated by Lombok.

Also, note how there's an extra type hint rendered for the @RequiredArgsConstructor declaration on ProductAdded.

@angelozerr
Copy link
Owner

Perhaps it's a problem with Lombok #37 (comment)

@vogella I fear that more and more people wants lombox support, but JDT project will not agree to support it.

@vogella
Copy link
Contributor

vogella commented Nov 13, 2018

@angelozerr I think having it available for standard Java code will already be a big gain.

@angelozerr
Copy link
Owner

I think having it available for standard Java code will already be a big gain.

I had started to implement the lombok feature but it's an hard thing and Java code will ne specific for lombok. I would like to avoid doing work that JDT project will reject because of lombok code (but there is no dependency to lombok ).

Just find time to support lombok ...

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

3 participants