Search a 方法 in a 类.
* func will receive the function that matches the specifications.
* object is an 对象 for a dynamic method, and a class for a static method.
* name is the name of the method.
* sign is the signature of the method.
This function returns a non-zero value if the method couldn't be found.