class FindMatchingFilterLinesAnswerer extends Answerer {

  @VisibleForTesting
  static SortedMap<Integer, LineBehavior> getBehaviorToReport(
      List<AclLine> aclLines,
      BDD headerSpaceBdd,
      IpAccessListToBdd bddConverter,
      @Nullable Action action) {
    LineBehaviorFinder behaviorFinder =
        new LineBehaviorFinder(bddConverter, action, headerSpaceBdd);
    ImmutableSortedMap.Builder<Integer, LineBehavior> actionsToReport =
        ImmutableSortedMap.naturalOrder();
    for (int i = 0; i < aclLines.size(); i++) {
      LineBehavior lineBehavior = behaviorFinder.visit(aclLines.get(i));
      if (lineBehavior != null) {
        actionsToReport.put(i, lineBehavior);
      }
    }
    return actionsToReport.build();
  }

    FindMatchingFilterLinesAnswerer(Question question, IBatfish batfish);

}