private static PortablePosition navigateToPathTokenWithoutQuantifier ( PortableNavigatorContext ctx , PortablePathCursor path ) throws IOException { if ( path . isLastToken ( ) ) { // if it's a token that's on the last position we calculate its direct access position and return it for // reading in the value reader. return createPositionForReadAccess ( ctx , path ) ; } else { // if it's not a token that's on the last position in the path we advance the position to the next token // we also adjust the context, since advancing means that we are in the context of other // (and possibly different) portable type. if ( ! navigateContextToNextPortableTokenFromPortableField ( ctx ) ) { // we return null if we didn't manage to advance from the current token to the next one. // For example: it may happen if the current token points to a null object. return nilNotLeafPosition ( ) ; } } return null ; }
Token without quantifier . It means it s just a simple field not an array .