String[] contributorIds = getContributorIds(namespace); List tmp = new ArrayList(); for (int i = 0; i < contributorIds.length; i++) { Extension[] exts = (Extension[]) registryObjects.getObjects(registryObjects.getExtensionsFrom(contributorIds[i]), RegistryObjectManager.EXTENSION); for (int j = 0; j < exts.length; j++) { if (registryObjects.getExtensionPointObject(exts[j].getExtensionPointIdentifier()) != null) tmp.add(registryObjects.getHandle(exts[j].getObjectId(), RegistryObjectManager.EXTENSION)); } } if (tmp.size() == 0) return ExtensionHandle.EMPTY_ARRAY; IExtension[] result = new IExtension[tmp.size()]; return (IExtension[]) tmp.toArray(result);
return registryObjects.getExtensionsFromNamespace(namespaceName);
	public IExtension[] getExtensions(String namespace) {		access.enterRead();		try {			String[] contributorIds = getContributorIds(namespace);			List tmp = new ArrayList();			for (int i = 0; i < contributorIds.length; i++) {				Extension[] exts = (Extension[]) registryObjects.getObjects(registryObjects.getExtensionsFrom(contributorIds[i]), RegistryObjectManager.EXTENSION);				for (int j = 0; j < exts.length; j++) {					if (registryObjects.getExtensionPointObject(exts[j].getExtensionPointIdentifier()) != null)						tmp.add(registryObjects.getHandle(exts[j].getObjectId(), RegistryObjectManager.EXTENSION));				}			}			if (tmp.size() == 0)				return ExtensionHandle.EMPTY_ARRAY;			IExtension[] result = new IExtension[tmp.size()];			return (IExtension[]) tmp.toArray(result);		} finally {			access.exitRead();		}	}