void (PsiMethod superConstructorWithChain, PsiClass targetClass, List<? super FixableUsageInfo> usages, Set<? super PsiMethod> addedSuperConstructors) { addedSuperConstructors.add(superConstructorWithChain); PsiMethod chainedConstructor = CommonJavaRefactoringUtil.getChainedConstructor(superConstructorWithChain); while (chainedConstructor != null && addedSuperConstructors.add(chainedConstructor)) { usages.add(new CopyDefaultConstructorUsageInfo(targetClass, chainedConstructor)); chainedConstructor = CommonJavaRefactoringUtil.getChainedConstructor(chainedConstructor); } }