diff --git a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java index 19732b88c2b4..bd1709232774 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/navigation/GotoImplementationHandler.java @@ -142,9 +142,12 @@ public class GotoImplementationHandler extends GotoTargetHandler { ImplementationsUpdaterTask(@NotNull GotoData gotoData, @NotNull Editor editor, int offset, final PsiReference reference) { super(gotoData.source.getProject(), ImplementationSearcher.SEARCHING_FOR_IMPLEMENTATIONS, - createComparatorWrapper(Comparator.comparing((Function)e1 -> { - return getRenderer(e1, gotoData).getComparingObject(e1); - }))); + createComparatorWrapper(Comparator.comparing(new Function() { + @Override + public Comparable apply(PsiElement e1) { + return getRenderer(e1, gotoData).getComparingObject(e1); + } + }))); myEditor = editor; myOffset = offset; myGotoData = gotoData;