method info: walk up for resolved candidate (IDEA-181445)

This commit is contained in:
Anna.Kozlova
2017-11-28 19:25:06 +01:00
parent 5998dfed1f
commit 873b4402da
3 changed files with 51 additions and 9 deletions
@@ -0,0 +1,10 @@
import java.util.Map;
import java.util.Map.Entry;
import java.util.stream.Collectors;
class Test {
void m(Map<String, String> s) {
s.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, <caret>Map.Entry::getValue));
}
}