code: private void composeDeprecatedList(List<Doc> list, MemberDoc[] members) {
          for (MemberDoc member : members) {
              if (utils.isDeprecated(member)) {
                  list.add(member);
              }
          }
      }
docs: Add the members into a single list of deprecated members.
  
  @param list List of all the particular deprecated members, e.g. methods.
  @param members members to be added in the list.