boolean (PsiClass superClass, GrMemberInfo[] infos) { if (!CommonRefactoringUtil.checkReadOnlyStatus(myProject, superClass)) return false; for (GrMemberInfo info : infos) { if (info.getMember() instanceof PsiClass && info.getOverrides() != null) continue; if (!CommonRefactoringUtil.checkReadOnlyStatus(myProject, info.getMember())) return false; } return true; }