mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 04:21:24 +07:00
Disable lambda2methodref if lambda parameter has annotations; preserve annotations in extract to methodref
Fixes IDEA-200489 Replacing lambda with method reference discards annotation on Java 11 var lambda parameter GitOrigin-RevId: 78bf5f00389f8e1e8a866fbaa226cea2e31b749c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fc3d01378e
commit
8ddeb2cd07
@@ -0,0 +1,6 @@
|
||||
// "Replace lambda with method reference" "false"
|
||||
import java.util.function.Consumer;
|
||||
|
||||
class Test {
|
||||
Consumer<Integer> c = (@Nonnull Integer i) -> System<caret>.out.println(i);
|
||||
}
|
||||
Reference in New Issue
Block a user