get methods

get methods by reflection