public void setTargetClass(@Nullable PsiClass targetClass) {
    if (targetClass != null) {
      myTargetClass = targetClass;
      myNeedChangeContext = true;
    }
  }
public void setTargetClass(@Nullable PsiClass targetClass)