code: public Annotation[][] getAnnotations() {
          Annotation[][] copy = new Annotation[mParameterAnnotations.size()][];
          for (int i=copy.length; --i>=0; ) {
              Vector<Annotation> annotations = mParameterAnnotations.get(i);
              if (annotations == null) {
                  copy[i] = new Annotation[0];
              } else {
                  copy[i] = annotations.toArray(new Annotation[annotations.size()]);
              }
          }
          return copy;
      }
docs: First array index is zero-based parameter number.