add method to find annotation on method or class