mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
completion: take into account provided type arguments (IDEA-169478)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
class Test {
|
||||
private static <T> void _f(Consumer<T> c) {}
|
||||
|
||||
private static void bar(final String s) {}
|
||||
|
||||
public static void main(String[] argArr) {
|
||||
Test.<String>_f(Test::bar);
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
import java.util.function.Consumer;
|
||||
|
||||
class Test {
|
||||
private static <T> void _f(Consumer<T> c) {}
|
||||
|
||||
private static void bar(final String s) {}
|
||||
|
||||
public static void main(String[] argArr) {
|
||||
Test.<String>_f(b<caret>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user