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 methods on Optional #87

Open
odrotbohm opened this issue Nov 13, 2018 · 1 comment
Open

Wrong parameter type derived for methods on Optional #87

odrotbohm opened this issue Nov 13, 2018 · 1 comment

Comments

@odrotbohm
Copy link

odrotbohm commented Nov 13, 2018

bildschirmfoto 2018-11-13 um 12 02 07

The Optional.orElseThrow(…) method gets a parameter type resolved that's actually the return value, not the parameter. It shows InventoryItem when it should show Supplier<…>.

@odrotbohm odrotbohm changed the title Wrong parameter typ Wrong parameter type derived for methods on Optional Nov 13, 2018
@angelozerr
Copy link
Owner

Is it lombok support?

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

2 participants