scanning for annotated methods