public static void qualifyMember(PsiMember member, PsiElement occurence, String newName) throws IncorrectOperationException {
    final PsiClass containingClass = member.getContainingClass();
    if (containingClass != null) {
      qualifyMember(occurence, newName, containingClass, member.hasModifierProperty(PsiModifier.STATIC));
    }
  }
public static void qualifyMember(PsiMember member, PsiElement occurence, String newName)