public IJavaCompletionProposal[] getCorrections(IAssistContext context, IProblemLocation[] locations) throws CoreException {
public IJavaCompletionProposal[] getCorrections(IInvocationContext context, IProblemLocation[] locations) throws CoreException {
	public IJavaCompletionProposal[] getCorrections(IAssistContext context, IProblemLocation[] locations) throws CoreException {		if (locations == null || locations.length == 0) {			return null;		}				HashSet handledProblems= new HashSet(locations.length);		ArrayList resultingCollections= new ArrayList();		for (int i= 0; i < locations.length; i++) {			IProblemLocation curr= locations[i];			Integer id= new Integer(curr.getProblemId());			if (handledProblems.add(id)) {				process(context, curr, resultingCollections);			}		}		return (IJavaCompletionProposal[]) resultingCollections.toArray(new IJavaCompletionProposal[resultingCollections.size()]);	}