Add getMethod method to reflection util class