LocalQuickFix (Object... infos) { final PsiClass aClass = (PsiClass)infos[0]; final String className = aClass.getName(); if (infos.length == 1) { return new MakePackagePrivateFix(className, true); } final PsiMember member = (PsiMember)infos[1]; @NonNls final String memberName; if (member instanceof PsiMethod) { memberName = member.getName() + "()"; } else { memberName = member.getName(); } @NonNls final String elementName = className + '.' + memberName; return new MakePackagePrivateFix(elementName, false); }