PackageInfo hasExportPackageOrElse(PackageInfo other) {
        return exportPackage().isPresent() ? this : other;
    }
Returns this if it has an ExportPackage annotation, otherwise returns the other.
Used to combine objects, where this should take precedence over the other.
bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/PackageInfo.java