void (@NotNull PsiClass cls, @NotNull ModPsiUpdater updater, @NotNull SmartPsiElementPointer<PsiMember> constructorOrClassPtr) { PsiMember constructorOrClass = constructorOrClassPtr.getElement(); if (constructorOrClass == null) return; UsageData usages = findUsages(constructorOrClass); performRefactoring(constructorOrClass, cls, usages, updater); }