void () { configureJava("class C { void m() { new Strin<caret> } }"); complete("String(byte[] bytes, String charsetName)"); checkResultWithInlays("class C { void m() { new String(<HINT text=\"bytes:\"/><caret><Hint text=\",charsetName:\"/>) } }"); String doc = JavaExternalDocumentationTest.getDocumentationText(getEditor()); assertTrue(doc.contains("If the named charset is not supported")); }