mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
testdata for IDEA-138752
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
import java.util.Map;
|
||||
import static java.util.stream.Collectors.toMap;
|
||||
|
||||
class Test {
|
||||
Map<? extends Enum<?>, String> getValueByEnum() {
|
||||
return null;
|
||||
}
|
||||
|
||||
Map<String, ? extends Enum<?>> getEnumByValue() {
|
||||
return getValueByEnum().entrySet().stream()
|
||||
.collect(toMap(Map.Entry::getValue, Map.Entry::getKey));
|
||||
}
|
||||
}
|
||||
+4
@@ -434,6 +434,10 @@ public class NewMethodRefHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA138752() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user