Bug 60349 [implementation] reduce warnings due to core.runtime deprecations
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.java
private static String PATTERN_FILTER_ID_PREFIX= "_patternFilterId_"; 
	private static final String EXTENSION_POINT_NAME= "javaElementFilters"; 
	private static final String FILTER_TAG= "filter"; 
	private static final String PATTERN_ATTRIBUTE= "pattern"; 	
	private static final String ID_ATTRIBUTE= "id"; 
	/**
	 * @deprecated as of 3.0 use {@link FilterDescriptor#TARGET_ID_ATTRIBUTE}
	 */
	private static final String VIEW_ID_ATTRIBUTE= "viewId"; 
	private static final String TARGET_ID_ATTRIBUTE= "targetId"; 
	private static final String CLASS_ATTRIBUTE= "class"; 
	private static final String NAME_ATTRIBUTE= "name"; 
	private static final String ENABLED_ATTRIBUTE= "enabled"; 
	private static final String DESCRIPTION_ATTRIBUTE= "description"; 	
	/**
	 * @deprecated	use "enabled" instead
	 */
	private static final String SELECTED_ATTRIBUTE= "selected"; 
	private static FilterDescriptor[] fgFilterDescriptors;
	private IConfigurationElement fElement;
	/**
	 * Returns all contributed Java element filters.
	 */
	public static FilterDescriptor[] getFilterDescriptors() {
		if (fgFilterDescriptors == null) {
			IPluginRegistry registry= Platform.getPluginRegistry();
			IConfigurationElement[] elements= registry.getConfigurationElementsFor(JavaUI.ID_PLUGIN, EXTENSION_POINT_NAME);
			fgFilterDescriptors= createFilterDescriptors(elements);
		}	
		return fgFilterDescriptors;