void (@NotNull Set<? extends PsiMember> membersToMove, @Nullable PsiClass targetClass, @Nullable String newVisibility, @NotNull PsiElement context, @Nullable Set<? extends PsiMethod> abstractMethods, @NotNull Condition<? super PsiReference> ignorePredicate, @NotNull MultiMap<PsiElement, @DialogMessage String> conflicts) { if (VisibilityUtil.ESCALATE_VISIBILITY.equals(newVisibility)) { //Still need to check for access object newVisibility = PsiModifier.PUBLIC; } for (PsiMember member : membersToMove) { analyzeUsedElementsAfterMove(member, member, membersToMove, abstractMethods, targetClass, context, conflicts); checkAccessibilityConflictsAfterMove(member, newVisibility, targetClass, membersToMove, conflicts, ignorePredicate); } }