void () { doCustomTest("method", "class Main {" + " void foo() throws ReflectiveOperationException {" + " String name;" + " name = \"Te\" + \"st\";" + " Class.forName(name).getMethod(\"<caret>method\");" + " }" + "}"); }