@Override
  @NotNull
  public <T extends GrStatement> T replaceThenBranch(@NotNull T newBranch) throws IncorrectOperationException {
    return PsiImplUtil.replaceBody(newBranch, getThenBranch(), getNode(), getProject());
  }
@Override
  @NotNull
  public <T extends GrStatement> T replaceThenBranch(@NotNull T newBranch)