code: public static ManagedEntity[] createManagedEntities(ServerConnection sc, ManagedObjectReference[] mors) {
          if (mors == null) {
              return new ManagedEntity[0];
          }
          ManagedEntity[] mes = new ManagedEntity[mors.length];
  
          for (int i = 0; i < mors.length; i++) {
              mes[i] = createExactManagedEntity(sc, mors[i]);
          }
  
          return mes;
      }
docs: Given a ServerConnection and an array of MORs return an array
  of MEs
  
  @param sc
  @param mors
  @return