class PacketHeaderConstraintsToAclLineMatchExprUtils {

  @Nullable
  static AclLineMatchExpr tcpFlagsToAclLineMatchExpr(
      @Nullable Set<TcpFlagsMatchConditions> tcpFlags) {
    return Optional.ofNullable(tcpFlags)
        .map(k -> match(HeaderSpace.builder().setTcpFlags(k).build()))
        .orElse(null);
  }

  private  PacketHeaderConstraintsToAclLineMatchExprUtils();

}