void () { doTest("class X {" + " void m() {" + " Class<? extends String[]> aClass = /*Instantiating object to get Class object*/new String[]/*_*/ {}.getClass()/**/;" + " }" + "}"); checkQuickFix(InspectionGadgetsBundle.message("instantiating.object.to.get.class.object.replace.quickfix"), "class X {" + " void m() {" + " Class<? extends String[]> aClass = String[].class;" + " }" + "}"); }