*/
public static NSMutableArray insertedObjects(EOEditingContext editingContext, NSArray<String> entityNames, EOQualifier qualifier) {
NSMutableArray result = new NSMutableArray();
NSDictionary insertedObjects = ERXArrayUtilities.arrayGroupedByKeyPath(editingContext.insertedObjects(), "entityName");
for (String entityName : entityNames) {
NSArray insertedObjectsForEntity = (NSArray) insertedObjects.objectForKey(entityName);
if (insertedObjectsForEntity != null && insertedObjectsForEntity.count() > 0) {
NSArray inMemory = EOQualifier.filteredArrayWithQualifier(insertedObjectsForEntity, qualifier);
if (inMemory.count() > 0) {
result.addObjectsFromArray(inMemory);
}