code: public List<Method> getMethodsFromGroupIds(int[] groupIds, String[] filters) throws Exception {
          ArrayList<Method> methods = new ArrayList<Method>();
  
          for (int groupId : groupIds) {
              methods.addAll(getMethodsFromGroupId(groupId, filters));
          }
  
          return methods;
      }
docs: Return all methods for a list of groupIds
  
  @param groupIds array of group IDs
  @param filters array of filters to apply to method selection
  @return collection of Methods found
  @throws Exception exception