void () { @Language("JAVA") String text = "import java.util.*;" + "class C { " + " static <T> boolean addAll(Collection<? super T> c, T... elements) {" + " return false;" + " }" + " static void m(Object objects[], List<Object> list) { " + " addAll(/*caret*/list, objects);" + " } " + "}"; myFixture.configureByText(JavaFileType.INSTANCE, text.replace("/*caret*/", "<caret>")); assertEmpty(myFixture.doHighlighting(HighlightSeverity.ERROR)); assertEquals("<html>Collection&lt;? super Object&gt; c, Object... elements</html>", parameterPresentation(-1)); }