code: public SortedSet<Element> members(VisibleMemberMap.Kind kind) {
          TreeSet<Element> out = new TreeSet<>(comparator);
          out.addAll(getVisibleMemberMap(kind).getLeafMembers());
          return out;
      }
docs: Returns a list of methods that will be documented for the given class.
  This information can be used for doclet specific documentation
  generation.
  
  @param kind the kind of elements to return.
  @return a list of methods that will be documented.
  @see VisibleMemberMap