parse parent method annotation recursively