docs: public static LicenseApi licenseApiFactory(String pathToLicense) {
  
          if (MiscUtils.isPro() == false) {
              return new LicenseApi() {
                  @Override
                  public boolean initializeFromFile(File license) {
                      return true;
                  }
  
                  @Override
                  public boolean isAnyKindOfTrial() {
                      return false;
                  }
  
                  @Override
                  public boolean isProTrial() {
                      return false;
                  }
  
                  @Override
                  public boolean isEnterpriseTrial() {
                      return false;
                  }
  
                  @Override
                  public int maxHostcount() {
                      return Integer.MAX_VALUE;
                  }
  
                  @Override
                  public Calendar expires() {
                      Calendar result = Calendar.getInstance();
                      result.add(Calendar.YEAR, 20); // good enough?
                      return result;
                  }
  
                  @Override
                  public boolean verify() {
                      return true;
                  }
  
                  @Override
                  public boolean isDrReplicationAllowed() {
                      return false;
                  }
  
                  @Override
                  public boolean isDrActiveActiveAllowed() {
                      return false;
                  }
  
                  @Override
                  public boolean isCommandLoggingAllowed() {
                      return false;
                  }
  
                  @Override
                  public boolean isAWSMarketplace() {
                      return false;
                  }
  
                  @Override
                  public boolean isEnterprise() {
                      return false;
                  }
  
                  @Override
                  public boolean isPro() {
                      return false;
                  }
  
                  @Override
                  public String licensee() {
                      return "VoltDB Community Edition User";
                  }
  
                  @Override
                  public Calendar issued() {
                      Calendar result = Calendar.getInstance();
                      return result;
                  }
  
                  @Override
                  public String note() {
                      return "";
                  }
  
                  @Override
                  public boolean hardExpiration() {
                      return false;
                  }
  
                  @Override
                  public boolean secondaryInitialization() {
                      return true;
                  }
              };
          }
  
          LicenseApi licenseApi = ProClass
                  .<LicenseApi>load("org.voltdb.licensetool.LicenseApiImpl", "License API", hostLog::fatal)
                  .errorHandler(hostLog::fatal).newInstance();
          if (licenseApi == null) {
              return null;
          }
  
          // verify the license file exists.
          File licenseFile = new File(pathToLicense);
          if (licenseFile.exists() == false) {
              return null;
          }
  
          hostLog.info("Found VoltDB license file at path: " + pathToLicense);
  
          // Initialize the API. This parses the file but does NOT verify signatures.
          if (licenseApi.initializeFromFile(licenseFile) == false) {
              hostLog.fatal("Unable to load license file: could not parse license.");
              return null;
          }
  
          // Perform signature verification - detect modified files
          try
          {
              if (licenseApi.verify() == false) {
                  hostLog.fatal("Unable to load license file: could not verify license signature.");
                  return null;
              }
          }
          catch (LicenseException lex)
          {
              hostLog.fatal(lex.getMessage());
              return null;
          }
  
          return licenseApi;
      }