code: public static CharMatcher forPredicate(final Predicate<? super Character> predicate) {
      return predicate instanceof CharMatcher ? (CharMatcher) predicate : new ForPredicate(predicate);
    }
docs: Returns a matcher with identical behavior to the given {@link Character}-based predicate, but
  which operates on primitive {@code char} instances instead.