public static CallHandler<CallChainSimplification> handler() {
      return CallHandler.of(STREAM_COLLECT, call -> {
        if (!COLLECTORS_TO_LIST.matches(call.getArgumentList().getExpressions()[0])) return null;
        PsiMethodCallExpression nextCall = ExpressionUtils.getCallForQualifier(call);
        if (!COLLECTION_SIZE_CHECK.test(nextCall)) return null;
        return new CollectorToListSize("size".equals(nextCall.getMethodExpression().getReferenceName()));
      });
    }
public static CallHandler<CallChainSimplification> handler()