@Override
          public void visitElement(@NotNull PsiElement element) {
            if (foundRef[0]) return;
            super.visitElement(element);
          }
@Override
          public void visitElement(@NotNull PsiElement element)