// "Replace with 'instanceof Integer'" "false" class X { void test(String obj) { if(Integer.class.isInstance(1)) { System.out.println("Integer"); } } }