added ability to get annotations for a method name