Added utility method to retrieve methods by annotation which is now used for finding cleanup methods