List<ICompletionProposal> proposals = new ArrayList<ICompletionProposal>();
MarkerAnnotation markerAnnotation = MarkerFactory.findMarkerAnnotationByTypeAndOffset(ResourceIDs.MARKER_INVALID_CHARACTER, invocationContext.getOffset(), invocationContext.getSourceViewer());
if (markerAnnotation != null && markerAnnotation.isQuickFixable()) {
InvalidCharacterCompletionProposal proposal = new InvalidCharacterCompletionProposal(markerAnnotation);
proposals.add(proposal);
}
return proposals.toArray(new ICompletionProposal[0]);
}