question: private byte skipEntityForward ( ) { while ( charIndex < length && ( lastChar = text . charAt ( charIndex ++ ) ) != ';' ) { } return Character . DIRECTIONALITY_WHITESPACE ; }
target:  Advances charIndex forward through an HTML character entity tag (after the opening &amp; has already been read) and returns Character.DIRECTIONALITY_WHITESPACE. It would be best to figure out the actual character and return its dirtype, but this is good enough.