class PacketHeaderConstraintsToAclLineMatchExprUtils {

  @Nullable
  static AclLineMatchExpr icmpTypeToAclLineMatchExpr(@Nullable IntegerSpace icmpType) {
    return Optional.ofNullable(icmpType)
        .map(IntegerSpace::getSubRanges)
        .map(k -> match(HeaderSpace.builder().setIcmpTypes(k).build()))
        .orElse(null);
  }

  private  PacketHeaderConstraintsToAclLineMatchExprUtils();

}