use of org.eclipse.xtext.ui.editor.quickfix.IssueResolution in project xtext-xtend by eclipse.
the class XtendQuickfixProvider method getResolutions.
@Override
public List<IssueResolution> getResolutions(Issue issue) {
StopWatch stopWatch = new StopWatch(logger);
try {
if (LINKING_ISSUE_CODES.contains(issue.getCode())) {
List<IssueResolution> result = new ArrayList<IssueResolution>();
result.addAll(getResolutionsForLinkingIssue(issue));
return result;
} else
return super.getResolutions(issue);
} finally {
stopWatch.resetAndLog("#getResolutions");
}
}
Aggregations