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