private static ICorrectionProcessor[] getCorrectionProcessors() { if (fCorrectionProcessors == null) { try { IConfigurationElement[] elements= Platform.getPluginRegistry().getConfigurationElementsFor(JavaUI.ID_PLUGIN, QUICKFIX_PROCESSOR_CONTRIBUTION_ID); ICorrectionProcessor[] result= new ICorrectionProcessor[elements.length]; for (int i= 0; i < elements.length; i++) { result[i]= (ICorrectionProcessor) elements[i].createExecutableExtension("class"); } fCorrectionProcessors= result; } catch (CoreException e) { JavaPlugin.log(e); fCorrectionProcessors= new ICorrectionProcessor[] { new QuickFixProcessor() }; }
private static ContributedProcessorDescriptor[] getCorrectionProcessors() { if (fContributedCorrectionProcessors == null) { fContributedCorrectionProcessors= getProcessorDescriptors(QUICKFIX_PROCESSOR_CONTRIBUTION_ID);
	private static ICorrectionProcessor[] getCorrectionProcessors() {		if (fCorrectionProcessors == null) {			try {				IConfigurationElement[] elements= Platform.getPluginRegistry().getConfigurationElementsFor(JavaUI.ID_PLUGIN, QUICKFIX_PROCESSOR_CONTRIBUTION_ID);				ICorrectionProcessor[] result= new ICorrectionProcessor[elements.length];				for (int i= 0; i < elements.length; i++) {					result[i]= (ICorrectionProcessor) elements[i].createExecutableExtension("class"); //$NON-NLS-1$				}				fCorrectionProcessors= result;			} catch (CoreException e) {				JavaPlugin.log(e);				fCorrectionProcessors= new ICorrectionProcessor[] { new QuickFixProcessor() };			}		}		return fCorrectionProcessors;	}