code: public List<ProgramElementDoc> excludeDeprecatedMembersAsList(
          ProgramElementDoc[] members) {
          List<ProgramElementDoc> list = new ArrayList<>();
          for (ProgramElementDoc member : members) {
              if (member.tags("deprecated").length == 0) {
                  list.add(member);
              }
          }
          Collections.sort(list);
          return list;
      }
docs: Return array of class members whose documentation is to be generated.
  If the member is deprecated do not include such a member in the
  returned array.
  
  @param  members    Array of members to choose from.
  @return List       List of eligible members for whom
  documentation is getting generated.