Bug 78867 Using new registry API
Following some rework of the registry, please apply this patch to make use of the new method called getNamespace() on IConfigurationElement. This patch will convert most occurrences of: configurationElement.getDeclaringExtension().getNamespace() into configurationElement.getNamespace()
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.java
private static FilterDescriptor[] createFilterDescriptors(IConfigurationElement[] elements) {
		List result= new ArrayList(5);
		Set descIds= new HashSet(5);
		for (int i= 0; i < elements.length; i++) {
			final IConfigurationElement element= elements[i];
			if (FILTER_TAG.equals(element.getName())) {
				final FilterDescriptor[] desc= new FilterDescriptor[1];
				Platform.run(new SafeRunnable(FilterMessages.getString("FilterDescriptor.filterDescriptionCreationError.message")) { 
					public void run() throws Exception {
						desc[0]= new FilterDescriptor(element);
					}
				});
				if (desc[0] != null && !descIds.contains(desc[0].getId())) {
					result.add(desc[0]);
					descIds.add(desc[0].getId());
				}
			}
		}
		Collections.sort(result);
		return (FilterDescriptor[])result.toArray(new FilterDescriptor[result.size()]);
	}
	
	public String getLocalId() {
		return fElement.getAttribute(ID_ATTRIBUTE);
	}
    public String getPluginId() {
        return fElement.getDeclaringExtension().getNamespace();
    }
}