return ann != null && !ann.value().isEmpty() ? ann.value() : type.getName();
}
public String getJSExportPackage() {
String requestedPackageName = getPrefix();
ExportPackage ann = type.getAnnotation(ExportPackage.class);
JClassType type = getTypeToExport();
if (ann != null) {
requestedPackageName = ann.value();
} else if (type.getEnclosingType() != null) {
JExportableClassType encType = exportableTypeOracle
.findExportableClassType(
type.getEnclosingType().getQualifiedSourceName());
if (encType != null) {