@Override
        public void visitReferenceExpression(@NotNull PsiReferenceExpression expression) {
          if (!(expression instanceof PsiReferenceExpressionImpl)) {
            return;
          }
          ResolveResult[] cachedResults = resolveCache.getCachedResults(expression, physical, false, true);
          if (cachedResults != null) {
            return;
          }
          visitElement(expression);
        }
@Override
        public void visitReferenceExpression(@NotNull PsiReferenceExpression expression)