Bug 71640 [IDE] use of deprecated IExtension.getDeclaringPluginDescriptor()
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/MarkerHelpRegistry.java
"Unable to instantiate resolution generator", e.getStatus()); 
                    }
                    if (generator != null) {
                        IMarkerResolution[] generatedResolutions = generator
                                .getResolutions(marker);
                        for (int i = 0; i < generatedResolutions.length; i++) {
                            resolutions.add(generatedResolutions[i]);
                        }
                    }
                }
            }
        }
        return (IMarkerResolution[]) resolutions
                .toArray(new IMarkerResolution[resolutions.size()]);
    }
    /**
     * Adds a help query to the registry.
     * 
     * @param query a marker query
     * @param result a result for the given query
     * @param element the configuration element defining the result
     */
    public void addHelpQuery(MarkerQuery query, MarkerQueryResult result,
            IConfigurationElement element) {
        addQuery(helpQueries, query, result, element);
    }
    /**
     * Adds a resolution query to the registry.
     * 
     * @param query a marker query