void () { doTest(""" class X { public static Object cloneArray(final Object source) { final Object[] result = ((Object[]) source).clone(); for (int i = 0; i < result.length; i++) { } return result; } } """); }