code: public List<String> getReferenceNames() {
          ArrayList<String> names = new ArrayList<>(references.keySet());
          Collections.sort(names);
          return names;
      }
docs: Return the list of property names which are references.
  
  @return list of property names.