diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA109875.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA109875.java new file mode 100644 index 000000000000..a70b0940788f --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA109875.java @@ -0,0 +1,13 @@ +import java.util.Collections; +import java.util.Set; + +public class Test { + + public static Test doTest(K k){ + return null; + } + + public static void main(String[] args) { + Test.>doTest(Collections.emptySet()); + } +} \ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java index 2d42a723066e..ec241b5e8e42 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -237,6 +237,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA22005() throws Exception { doTest5(false);} public void testIDEA57259() throws Exception { doTest5(false);} public void testIDEA107957() throws Exception { doTest6(false);} + public void testIDEA109875() throws Exception { doTest6(false);} public void testIDEA106964() throws Exception { doTest5(false);} public void testIDEA107782() throws Exception { doTest5(false);} public void testInheritedWithDifferentArgsInTypeParams() throws Exception { doTest5(false);}