code: @SuppressWarnings("deprecation")
      public /*abstract*/ void parseAssociatedNames(Item item, Collection<GitHubRepositoryName> result) {
          if (Util.isOverridden(
                  GitHubRepositoryNameContributor.class,
                  getClass(),
                  "parseAssociatedNames",
                  Job.class,
                  Collection.class
          )) {
              // if this impl is legacy, it cannot contribute to non-jobs, so not an error
              if (item instanceof Job) {
                  parseAssociatedNames((Job<?, ?>) item, result);
              }
          } else  if (Util.isOverridden(
                  GitHubRepositoryNameContributor.class,
                  getClass(),
                  "parseAssociatedNames",
                  AbstractProject.class,
                  Collection.class
          )) {
              // if this impl is legacy, it cannot contribute to non-projects, so not an error
              if (item instanceof AbstractProject) {
                  parseAssociatedNames((AbstractProject<?, ?>) item, result);
              }
          } else {
              throw new AbstractMethodError("you must override the new overload of parseAssociatedNames");
          }
      }
docs: Looks at the definition of {@link Item} and list up the related github repositories,
  then puts them into the collection.
  @param item the item.
  @param result the collection to add repository names to
  @since 1.25.0