Applied reflection to class TokenAnnotator.