code: public Collection<NameInfo> getAllNameInfo() {
      List<NameInfo> result = new ArrayList<>(propertyNameInfo.values());
      result.addAll(varNameInfo.values());
      return result;
    }
docs: Returns information on all prototype properties.