ExportPackageDescription[] exports = platformAdmin.getStateHelper().getVisiblePackages(bundle.getBundleDescription());
ExportPackageDescription[] exports = platformAdmin.getStateHelper().getVisiblePackages(bundle.getBundleDescription(), StateHelper.VISIBLE_INCLUDE_EE_PACKAGES);
	public void _getPackages(CommandInterpreter intp) {		String nextArg = intp.nextArgument();		if (nextArg == null)			return;		AbstractBundle bundle = getBundleFromToken(intp, nextArg, true);		ServiceReference ref = context.getServiceReference("org.eclipse.osgi.service.resolver.PlatformAdmin"); //$NON-NLS-1$		if (ref == null)			return;		PlatformAdmin platformAdmin = (PlatformAdmin) context.getService(ref);		try {			ExportPackageDescription[] exports = platformAdmin.getStateHelper().getVisiblePackages(bundle.getBundleDescription());			for (int i = 0; i < exports.length; i++) {				intp.println(exports[i] + ": " + platformAdmin.getStateHelper().getAccessCode(bundle.getBundleDescription(), exports[i])); //$NON-NLS-1$			}		} finally {			context.ungetService(ref);		}	}