if (declaredFields.length == 0) return new FieldOperation[0];
/* If there are fields, convert them to FieldOperations. */
FieldOperation[] fields = new FieldOperation[declaredFields.length];
for (int i = 0; i < fields.length; i++) {
fields[i] = new FieldOperation(clazz, declaredFields[i]);
}
return fields; // Return the FieldOperations.
}