You must not call getAnnotatedType() outside of the PAT observer