static boolean shouldCheckResolve(PsiReference reference) {
    return reference instanceof TypeOrElementOrAttributeReference ||
           reference instanceof DependentNSReference ||
           reference instanceof URLReference ||
           reference instanceof TagNameReference ||
           reference instanceof PsiReferenceWithUnresolvedQuickFixes;
  }
static boolean shouldCheckResolve(PsiReference reference)