@Override
  protected void refreshElements(PsiElement @NotNull [] elements) {
    myClass = (PsiClass)elements[0];
    myTargetDirectory = (PsiDirectory)elements[1];
    for (int i = 0; i < myMemberInfos.length; i++) {
      final MemberInfo info = myMemberInfos[i];
      info.updateMember((PsiMember)elements[i + 2]);
    }
  }
@Override
  protected void refreshElements(PsiElement @NotNull [] elements)