code: public static DecomposableMatchBuilder0<String> caseString(String s) {
      List<Matcher<Object>> matchers = new ArrayList<>();
      matchers.add(eq(s));
  
      return new DecomposableMatchBuilder0<>(
          matchers, new PrimitiveFieldExtractor<>(String.class));
    }
docs: Matches a String.