Extract method processAnnoations()