private void processElement(@NotNull PsiElement element) {
      for (PsiReference ref : element.getReferences()) {
        PsiElement resolved = ref.resolve();
        if (resolved != null) myProcessor.process(ref.getElement(), resolved);
      }
    }
private void processElement(@NotNull PsiElement element)