ClassDoc[] classes = root.classes(); for (int i = 0; i < classes.length; i++) { ClassDoc cd = classes[i]; collect(cd); collect(cd.fields()); collect(cd.methods()); collect(cd.constructors());
ClassDoc[] classes = root.classes(); for (int i = 0; i < classes.length; i++) { ClassDoc cd = classes[i]; collect(cd); collect(cd.fields()); collect(cd.methods()); collect(cd.constructors()); } Collections.sort(parameters);
  private void buildParameterInfo(RootDoc root) {    ClassDoc[] classes = root.classes();    for (int i = 0; i < classes.length; i++) {      ClassDoc cd = classes[i];      collect(cd);      collect(cd.fields());      collect(cd.methods());      collect(cd.constructors());    }    Collections.sort(parameters);  }