mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
encode qualifiers in method refs (IDEA-145512)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public class Bar {
|
||||
void bar() {
|
||||
Function<Map.Entry<Long, Set<Integer>>, Long> getKey = Map.Entry::getKey;
|
||||
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
import java.util.function.Function;
|
||||
|
||||
class Foo {
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class Bar {
|
||||
void bar() {
|
||||
Foo.foo();
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
import java.util.function.Function;
|
||||
|
||||
class Foo {
|
||||
public static void foo() {
|
||||
|
||||
Function<Entry<Long, Set<Integer>>, Long> getKey = Entry::getKey;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user