Bug 71640 [IDE] use of deprecated IExtension.getDeclaringPluginDescriptor()
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/registry/MarkerHelpRegistry.java
.get(result);
                if (element != null) {
                    IMarkerResolutionGenerator generator = null;
                    if (element.getDeclaringExtension()
                            .getDeclaringPluginDescriptor().isPluginActivated()) {
                        
                        try {
                            generator = (IMarkerResolutionGenerator) element
                                    .createExecutableExtension(ATT_CLASS);
                        } catch (CoreException e) {
                            IDEWorkbenchPlugin
                                    .log(
                                            "Unable to instantiate resolution generator", e.getStatus()); 
                        }
                        if (generator != null) {
                            if (generator instanceof IMarkerResolutionGenerator2) {
                                if (((IMarkerResolutionGenerator2) generator)
                                        .hasResolutions(marker))
                                    return true;
                            } else {
                                IMarkerResolution[] resolutions = generator
                                        .getResolutions(marker);
                                if (resolutions.length > 0)
                                    
                                    return true;
                            }
                        }
                    } else {