@Override public void visitMethodCallExpression(@NotNull PsiMethodCallExpression expr) {
        if (expression instanceof PsiMethodCallExpression) {
          PsiReferenceExpression methodExpression = expr.getMethodExpression();
          if (Objects.equals(methodExpression.getReferenceName(),
                             ((PsiMethodCallExpression)expression).getMethodExpression().getReferenceName()) &&
              methodExpression.resolve() == ((PsiMethodCallExpression)expression).resolveMethod()) {
            result.add(expr.getMethodExpression());
          }
        }
        visitElement(expr);
      }
@Override public void visitMethodCallExpression(@NotNull PsiMethodCallExpression expr)