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