use core api findMethodByName for class method search