void () { doStatementTest(""" try { System.out.println("hello"); } /*Unexpected VM exception like 'java.lang.NullPointerException' might be ignored in a 'catch' block*/catch/**/(Exception ex) { if(ex instanceof ClassCastException) { // report invalid cast ex.printStackTrace(); } } \ """); }