Bug 71640 [IDE] use of deprecated IExtension.getDeclaringPluginDescriptor()
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/MarkerHelpRegistry.java
* @param result a result for the given query
     * @param element the configuration element defining the result
     */
    public void addResolutionQuery(MarkerQuery query, MarkerQueryResult result,
            IConfigurationElement element) {
        addQuery(resolutionQueries, query, result, element);
    }
    /**
     * Adds a query to the given table.
     * 
     * @param table the table to which the query is added
     * @param query a marker query
     * @param result a result for the given query
     * @param element the configuration element defining the result
     */
    private void addQuery(Map table, MarkerQuery query,
            MarkerQueryResult result, IConfigurationElement element) {
        
        Map results = (Map) table.get(query);
        if (results == null) {
            
            results = new HashMap();
            
            table.put(query, results);
        }
        
        results.put(result, element);
    }
}