}
// if the proposal change touched the imports, then run our import
// grouping edit after it.
if (proposal instanceof ASTRewriteCorrectionProposal){
ASTRewriteCorrectionProposal astProposal =
(ASTRewriteCorrectionProposal)proposal;
if (astProposal.getImportRewrite() != null){
TextEdit groupingEdit =
ImportUtils.importGroupingEdit(src, getPreferences());
if (groupingEdit != null){
JavaModelUtil.applyEdit(src, groupingEdit, true, null);
if (src.isWorkingCopy()) {