code: @Nonnull
      public static Builder builder(Revapi revapi) {
          List<String> knownExtensionIds = new ArrayList<>();
  
          addExtensionIds(revapi.getPipelineConfiguration().getApiAnalyzerTypes(), knownExtensionIds);
          addExtensionIds(revapi.getPipelineConfiguration().getTransformTypes(), knownExtensionIds);
          addExtensionIds(revapi.getPipelineConfiguration().getFilterTypes(), knownExtensionIds);
          addExtensionIds(revapi.getPipelineConfiguration().getReporterTypes(), knownExtensionIds);
  
          return new Builder(knownExtensionIds);
      }
docs: Returns a new analysis context builder that extracts the information about the available extensions from
  the provided Revapi instance.
  
  <p>The extensions have to be known so that both old and new style of configuration can be usefully worked with.
  
  @param revapi the revapi instance to read the available extensions from
  @return a new analysis context builder