void (Iterable<JvmField> jvmFieldIterable1, Iterable<JvmField> jvmFieldIterable2) { Iterator<JvmField> iterator = jvmFieldIterable2.iterator(); for (JvmField jvmField : jvmFieldIterable1) { JvmField jvmField2 = iterator.next(); assertEquals(jvmField.getFlags(), jvmField2.getFlags()); assertEquals(jvmField.getSignature(), jvmField2.getSignature()); assertEquals(jvmField.getName(), jvmField2.getName()); assertEquals(jvmField.getType(), jvmField2.getType()); assertIterableEquals(jvmField.getAnnotations(), jvmField2.getAnnotations()); assertEquals(jvmField.getValue(), jvmField2.getValue()); } }