void (PsiReference ref) { synchronized (PsiLock.LOCK) { myClearCount++; final boolean physical = ref.getElement().isPhysical(); setCachedPolyVariantResolve(ref, null, physical, false, myClearCount); setCachedPolyVariantResolve(ref, null, physical, true, myClearCount); } }