code: private static void assertNotEndOfInput(
  			final JsonParser p,
  			@Nullable final JsonToken jsonToken) {
  		checkState(jsonToken != null, "Unexpected end of input at %s", p.getCurrentLocation());
  	}
docs: Asserts that the provided JsonToken is not null, i.e., not at the end of the input.