code: private String determineEcosystem(String baseEcosystem, String vendor, String product, String targetSw) {
          if ("ibm".equals(vendor) && "java".equals(product)) {
              return "c/c++";
          }
          if ("oracle".equals(vendor) && "vm".equals(product)) {
              return "c/c++";
          }
          if ("*".equals(targetSw) || baseEcosystem != null) {
              return baseEcosystem;
          }
          return targetSw;
      }
docs: Attempts to determine the ecosystem based on the vendor, product and
  targetSw.
  
  @param baseEcosystem the base ecosystem
  @param vendor the vendor
  @param product the product
  @param targetSw the target software
  @return the ecosystem if one is identified