List<LineMarkerInfo<PsiElement>> (@NotNull Collection<? extends PsiMethod> methods) { if (!shouldSearchImplementedMethods() && !shouldSearchOverriddenMethods()) { return Collections.emptyList(); } Map<PsiMethod, FindSuperElementsHelper.SiblingInfo> map = FindSuperElementsHelper.getSiblingInheritanceInfos(methods); return ContainerUtil.map(map.keySet(), method -> { PsiElement range = getMethodRange(method); ArrowUpLineMarkerInfo upInfo = new ArrowUpLineMarkerInfo(range, AllIcons.Gutter.SiblingInheritedMethod, MarkerType.SIBLING_OVERRIDING_METHOD); return NavigateAction.setNavigateAction(upInfo, JavaBundle.message("action.go.to.super.method.text"), IdeActions.ACTION_GOTO_SUPER); }); }