@Override
      public void visitMethodReferenceExpression(final @NotNull PsiMethodReferenceExpression expression) {
        Problem problem = doCheckMethodCallOnFunctionalExpression(expression, call -> expression.resolve() != null);
        if (problem != null) {
          problem.register(holder);
        }
      }
@Override
      public void visitMethodReferenceExpression(final @NotNull PsiMethodReferenceExpression expression)