code: public AddOnRunRequirements calculateExtensionRunRequirements(Extension extension, Collection<AddOn> availableAddOns) {
          return calculateExtensionRunRequirements(extension.getClass().getCanonicalName(), availableAddOns);
      }
docs: Calculates the requirements to run the given {@code extension}, in the current ZAP and Java versions and with the given
  {@code availableAddOns}.
  <p>
  If the extension depends on other add-ons, those add-ons are checked if are also runnable.
  <p>
  <strong>Note:</strong> All the given {@code availableAddOns} are expected to be loadable in the currently running ZAP
  version, that is, the method {@code AddOn.canLoadInCurrentVersion()}, returns {@code true}.
  
  @param extension the extension that will be checked
  @param availableAddOns the add-ons available
  @return the requirements to run the extension, and if not runnable the reason why it's not.
  @since 2.4.0
  @see AddOnRunRequirements#getExtensionRequirements()