private boolean visitReference(@NotNull UReferenceExpression ref) {
      PsiElement sourcePsi = ref.getSourcePsi();
      if (sourcePsi == null) return true;
      PsiVariable target = ObjectUtils.tryCast(ref.resolve(), PsiVariable.class);
      if (target == null || target instanceof PsiLocalVariable) return true;
      processReferenceToNonLocalized(sourcePsi, ref, target);
      return true;
    }
private boolean visitReference(@NotNull UReferenceExpression ref)