Method annotation framework