public Set<String> referencedPackagesMissingFrom(Set<String> definedAndExportedPackages) {
        return Sets.difference(referencedPackages(), definedAndExportedPackages).stream()
                .filter(pkg -> !pkg.startsWith("java."))
                .filter(pkg -> !pkg.equals(com.yahoo.api.annotations.PublicApi.class.getPackageName()))
                .collect(Collectors.toSet());
    }
Returns the set of packages that is referenced from this tally, but not included in the given set of available packages.

@param definedAndExportedPackages Set of available packages (usually all packages defined in the generated bundle's project + all exported packages of dependencies)
@return The set of missing packages, that may cause problem when the bundle is deployed in an OSGi container runtime.
bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/PackageTally.java