void (MouseEvent e, PsiElement element) { PsiElement parent = element.getParent(); if (!(parent instanceof GrField field)) return; final List<GrAccessorMethod> accessors = GroovyPropertyUtils.getFieldAccessors(field); final ArrayList<PsiMethod> superMethods = new ArrayList<>(); for (GrAccessorMethod method : accessors) { Collections.addAll(superMethods, method.findSuperMethods(false)); } if (superMethods.isEmpty()) return; final PsiMethod[] supers = superMethods.toArray(PsiMethod.EMPTY_ARRAY); boolean showMethodNames = !PsiUtil.allMethodsHaveSameSignature(supers); PsiElementListNavigator.openTargets(e, supers, DaemonBundle.message("navigation.title.super.method", field.getName()), DaemonBundle.message("navigation.findUsages.title.super.method", field.getName()), new MethodCellRenderer(showMethodNames)); }