public IScriptCompletionProposal[] getCorrections(IInvocationContext context, IProblemLocation[] locations) throws CoreException {
List<IScriptCompletionProposal> corrections = new ArrayList<IScriptCompletionProposal>();
for (IProblemLocation location : locations) {
if (location.getProblemIdentifier() == PEXProblemIdentifier.INTERFACE_RELATED) {
corrections.add(new InterfaceMethodCompletionProposal("", 0, 100, null, "Add unimplemented methods", 100));
}
}
return corrections.toArray(new IScriptCompletionProposal[corrections.size()]);
}