return new IMarkerResolution[] { new CorrectionMarkerResolution(marker) };
int id= marker.getAttribute(IJavaModelMarker.ID, -1); if (!JavaCorrectionProcessor.hasCorrections(id)) { return new IMarkerResolution[0]; }  try { ICompilationUnit cu= getCompilationUnit(marker); if (cu != null) { IEditorInput input= EditorUtility.getEditorInput(cu); if (input != null) { ProblemPosition pos= findProblemPosition(input, marker); if (pos != null) { ArrayList proposals= new ArrayList(); JavaCorrectionProcessor.collectCorrections(pos, proposals); int nProposals= proposals.size(); IMarkerResolution[] resolutions= new IMarkerResolution[nProposals]; for (int i= 0; i < nProposals; i++) { resolutions[i]= new CorrectionMarkerResolution(input, (ChangeCorrectionProposal) proposals.get(i)); } return resolutions; } } } } catch (JavaModelException e) { JavaPlugin.log(e); } return new IMarkerResolution[0];
	public IMarkerResolution[] getResolutions(IMarker marker) {		return new IMarkerResolution[] { new CorrectionMarkerResolution(marker) };	}