mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
anonymous -> lambda: do not collapse to lambda functional interfaces with generics methods, accepted by method refs though
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// "Replace with lambda" "false"
|
||||
class Test {
|
||||
interface A {
|
||||
<K> void foo();
|
||||
}
|
||||
{
|
||||
A a = new <caret>A() {
|
||||
@Override
|
||||
public <K> void foo() {
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user