code: static String checkStringArgument(String s, String name) {
      checkNotNull(s, name);
      checkArgument(!s.trim().isEmpty(), "'" + name + "' must not be blank. Was: '" + s + "'");
      return s;
    }
docs: Reject {@code null}, empty, and blank strings with a good exception type and message.