@Test public void testSPDXParsing7() { final LicenseInformation licenseInformation = LicenseSupport.fromSPDXExpression("Apache-2.0"); assertThat(licenseInformation).isInstanceOf(License.class); assertThat(((License) licenseInformation).getId()).isEqualTo("Apache-2.0"); }
public static LicenseInformation fromSPDXExpression(String spdxExpressionString) { SpdxExpression spdxExpression = SpdxExpression.parse(spdxExpressionString); return fromSPDXExpression(spdxExpression); }
LicenseSupport { public static LicenseInformation fromSPDXExpression(String spdxExpressionString) { SpdxExpression spdxExpression = SpdxExpression.parse(spdxExpressionString); return fromSPDXExpression(spdxExpression); } }
LicenseSupport { public static LicenseInformation fromSPDXExpression(String spdxExpressionString) { SpdxExpression spdxExpression = SpdxExpression.parse(spdxExpressionString); return fromSPDXExpression(spdxExpression); }  }
LicenseSupport { public static LicenseInformation fromSPDXExpression(String spdxExpressionString) { SpdxExpression spdxExpression = SpdxExpression.parse(spdxExpressionString); return fromSPDXExpression(spdxExpression); }  static LicenseInformation mapLicenses(Collection<String> licenses); static LicenseInformation mapLicenses(Collection<String> licenses, LicenseOperator operator); static LicenseInformation fromSPDXExpression(String spdxExpressionString); static LicenseInformation fromSPDXExpression(SpdxExpression spdxExpression); static LicenseInformation parseSpdxExpression(String expression); static LicenseInformation fromSpdxLicenseReferenceExpression(SpdxLicenseReferenceExpression spdxLicenseReferenceExpression); static LicenseInformation fromSpdxLicenseIdExpression(SpdxLicenseIdExpression spdxLicenseIdExpression); static LicenseInformation fromSPDXCompoundExpression(SpdxCompoundExpression spdxCompoundExpression, LicenseStatement license); }
LicenseSupport { public static LicenseInformation fromSPDXExpression(String spdxExpressionString) { SpdxExpression spdxExpression = SpdxExpression.parse(spdxExpressionString); return fromSPDXExpression(spdxExpression); }  static LicenseInformation mapLicenses(Collection<String> licenses); static LicenseInformation mapLicenses(Collection<String> licenses, LicenseOperator operator); static LicenseInformation fromSPDXExpression(String spdxExpressionString); static LicenseInformation fromSPDXExpression(SpdxExpression spdxExpression); static LicenseInformation parseSpdxExpression(String expression); static LicenseInformation fromSpdxLicenseReferenceExpression(SpdxLicenseReferenceExpression spdxLicenseReferenceExpression); static LicenseInformation fromSpdxLicenseIdExpression(SpdxLicenseIdExpression spdxLicenseIdExpression); static LicenseInformation fromSPDXCompoundExpression(SpdxCompoundExpression spdxCompoundExpression, LicenseStatement license);  }