class BgpPeerAddressNextHop extends NextHopExpr {

  @Nullable
  @Override
  public Ip getNextHopIp(Environment environment) {
    BgpSessionProperties sessionProps = environment.getBgpSessionProperties();
    checkState(sessionProps != null, "Expected BGP session properties");
    return sessionProps.getTailIp();
  }

  private  BgpPeerAddressNextHop();

}