Switch to hasTypeAnnotation()/getTypeAnnotation()

Introduce ReflectionTypeAnnotation class.