change castMethodRefIfNeeded() methods in LambdaExpressionAndMethodRefFixCore and ConvertLambdaToMethodReferenceFixCore to handle parameterized types better
add new tests to CleanUpTests1d8 and AssistQuickFixTest1d8
fixes #1498
What it does
Fixes lambda to method ref cleanup/quick assists to not add extraneous cast.
What it does
Fixes lambda to method ref cleanup/quick assists to not add extraneous cast.
How to test
See issue or new tests.
Author checklist