@Override public void visitReferenceElement(@NotNull PsiJavaCodeReferenceElement reference) {
    super.visitReferenceElement(reference);
    PsiElement resolved = reference.resolve();
    visitResolvedReference(resolved, reference);
  }
@Override public void visitReferenceElement(@NotNull PsiJavaCodeReferenceElement reference)