code: public List<PathValidator> getValidatorsForPathParam(final PathParameter param)
     {
        List<PathValidator> result = new ArrayList<PathValidator>();
        for (PathValidator pv : pathValidators)
        {
           if (pv.getIndex() == param.getPosition())
           {
              result.add(pv);
           }
        }
        return result;
     }
docs: Return a list of validators that belong to the given parameter.