code: public static List<List<Annotation>> findAndMergeParameterAnnotations(Method method) {
          List<List<Annotation>> res = new ArrayList<List<Annotation>>(method.getParameterTypes().length);
          for (int i = 0; i < method.getParameterTypes().length; i++) {
              res.add(new LinkedList<Annotation>());
          }
          findAndMergeAnnotations(method.getDeclaringClass(), method, res);
          return res;
      }
docs: Utility function to find all annotations on the parameters of the specified method and merge them with the same
  annotations on all base classes and interfaces.
  
  @param method the method in question
  @return the list of annotations for this method