code: public static DecomposableMatchBuilder1<Boolean, Boolean> caseBoolean(MatchesAny b) {
      List<Matcher<Object>> matchers = new ArrayList<>();
      matchers.add(any());
  
      return new DecomposableMatchBuilder1<>(
          matchers, 0, new PrimitiveFieldExtractor<>(Boolean.class));
    }
docs: Matches a boolean.
  
  <p>If matched, the boolean value is extracted.