code: public Iterator<String> listKernelBlackListApiPackages() {
          ProductPackages index = packageIndex;
          if (index != null) {
              return index.packageIterator(new Filter<PackageInfo>() {
                  @Override
                  public boolean includeValue(String packageName, PackageInfo value) {
                      return value.isApi() && value.isKernelExportBlacklistedPackage();
                  }
  
              });
          }
          return new EmptyIterator();
      }
docs: This iterator will walk the package index, returning only packages that indicate
  they are API packages and are included both by the kernel (core)feature and
  another enabled liberty feature or features.
  
  @see com.ibm.ws.kernel.provisioning.packages.SharedPackageInspector#listKernelApiPackages()