if (Constants.BUNDLE_ACTIVATOR.equalsIgnoreCase(keyString)) return storageHook.getBaseData().getActivator(); if (Constants.ECLIPSE_LAZYSTART.equals(keyString) || Constants.ECLIPSE_AUTOSTART.equals(keyString)) { if (!storageHook.isAutoStartable()) return null; if (storageHook.getAutoStartExceptions() == null) return Boolean.TRUE.toString(); StringBuffer result = new StringBuffer(Boolean.TRUE.toString()); result.append(";").append(Constants.ECLIPSE_LAZYSTART_EXCEPTIONS).append("=\""); String[] exceptions = storageHook.getAutoStartExceptions(); for (int i = 0; i < exceptions.length; i++) { if (i > 0) result.append(","); result.append(exceptions[i]); } result.append("\""); return result.toString(); }
	public Object get(Object key) {		if (manifest != null)			return manifest.get(key);		String keyString = (String) key;		if (Constants.BUNDLE_VERSION.equalsIgnoreCase(keyString)) {			Version result = storageHook.getBaseData().getVersion();			return result == null ? null : result.toString();		}		if (Constants.PLUGIN_CLASS.equalsIgnoreCase(keyString))			return storageHook.getPluginClass();		if (Constants.BUNDLE_SYMBOLICNAME.equalsIgnoreCase(keyString)) {			if ((storageHook.getBaseData().getType() & BundleData.TYPE_SINGLETON) == 0)				return storageHook.getBaseData().getSymbolicName();			return storageHook.getBaseData().getSymbolicName() + ';' + Constants.SINGLETON_DIRECTIVE + ":=true"; //$NON-NLS-1$		}		if (Constants.BUDDY_LOADER.equalsIgnoreCase(keyString))			return storageHook.getBuddyList();		if (Constants.REGISTERED_POLICY.equalsIgnoreCase(keyString))			return storageHook.getRegisteredBuddyList();		Dictionary result = getManifest();		return result == null ? null : result.get(key);	}