code: public static LicenseChoice resolveSpdxLicenseId(String licenseId) throws InvalidSPDXAnalysisException {
          final SpdxListedLicense spdxLicense = LicenseInfoFactory.getListedLicenseById(licenseId);
          final LicenseChoice choice = new LicenseChoice();
          choice.addLicense(createLicenseObject(spdxLicense));
          return choice;
      }
docs: Given a valid SPDX license ID, this method will return a LicenseChoice object.
  @param licenseId a valid SPDX license ID
  @return a LicenseChoice object
  @throws InvalidSPDXAnalysisException an exception while parsing the license ID