void (@NotNull PsiReference ref, @NotNull PsiClass targetClass) { if (ref instanceof PsiImportStaticReferenceElement) { ((PsiImportStaticReferenceElement)ref).bindToTargetClass(targetClass); } else { super.bindReference(ref, targetClass); } }