void (@NotNull PsiMethodReferenceExpression expression) { if (mySuperCallFound) { return; } final PsiExpression qualifier = expression.getQualifierExpression(); if (qualifier instanceof PsiSuperExpression) { final PsiElement target = expression.resolve(); if (target instanceof PsiMethod) { if (MethodSignatureUtil.isSuperMethod((PsiMethod)target, myMethod)) { mySuperCallFound = true; return; } } } super.visitMethodReferenceExpression(expression); }