get method list in runtime