void () { doTest(""" void test(java.util.Optional<String> t) { if(t.isPresent()) { <selection>t</selection> } }\ """, "Optional&lt;String&gt;", "<table>" + "<tr><td align=\"left\" style=\"color:#909090\" valign=\"top\">Type:</td><td>Optional&lt;String&gt;</td></tr>" + "<tr><td align=\"left\" style=\"color:#909090\" valign=\"top\">Nullability:</td><td>non-null</td></tr>" + "<tr><td align=\"left\" style=\"color:#909090\" valign=\"top\">Optional value:</td><td>present Optional</td></tr>" + "</table>"); }